![]() |
index not defined - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: index not defined (/showthread.php?tid=1982) |
index not defined - lalablah - 02-08-2008 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? Re: index not defined - Dragoons Master - 02-08-2008 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) Re: index not defined - lalablah - 02-08-2008 oh thanks |