Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
index not defined
#1
sorry for all the noob questions but its better to get them answered then to ask many more times,

whenever i use index in vb6 commands like call playerwarp(index, 1, 10, 10) it says wariable not defined and highlights index. whats the problem/fix?
Reply
#2
Index usually is a server variable, and it's local so you need to have it on your function, it's not a global variable. Client Side, sometimes, you need to call the function that sends the packet ordering for something, like in the case of player warping, it's:
Code:
Call WarpTo(n)
Where n is the map number.
Reply
#3
oh thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)