Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pop up menu
#1
well im trying to make a menu pop up if you right click an npc however i get the following error
Compile Error:
Wrong Number of Dimensions
with this highlighted

If Button = 2 Then
x = CurX
y = CurY

For I = 1 To MAX_MAP_NPCS
If MapNpc(Map, I).Num > 0 And MapNpc(Map, I).Num < 50 Then
NpcMenu1.Left = CurX - NpcMenu1.Width
NpcMenu1.Top = CurY - NpcMenu1.Height
End If
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)