SetPlayerVirtualWorld(playerid, i);
#2

'i' is not a random integer. You have to define it first (as the error says).

pawn Код:
new i = random(128);
should work. Put that above.
You can change the 128 to set the max number it'll randomize to.
Reply


Messages In This Thread
SetPlayerVirtualWorld(playerid, i); - by MrBlake - 03.11.2012, 18:16
Re: SetPlayerVirtualWorld(playerid, i); - by Eric - 03.11.2012, 18:18
Re: SetPlayerVirtualWorld(playerid, i); - by MrBlake - 03.11.2012, 18:24
Re: SetPlayerVirtualWorld(playerid, i); - by MrBlake - 03.11.2012, 18:42
Re: SetPlayerVirtualWorld(playerid, i); - by Eric - 03.11.2012, 18:59
Re: SetPlayerVirtualWorld(playerid, i); - by MrBlake - 03.11.2012, 19:05
Re: SetPlayerVirtualWorld(playerid, i); - by niels44 - 03.11.2012, 19:13
Re: SetPlayerVirtualWorld(playerid, i); - by MrBlake - 03.11.2012, 19:54

Forum Jump:


Users browsing this thread: 1 Guest(s)