Random spawn error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Random spawn error (
/showthread.php?tid=381905)
Random spawn error -
SkyWings - 01.10.2012
How i can fix this error?
Код:
array index out of bounds (variable "RandomSpawn")
My code:
AW: Random spawn error -
Nero_3D - 01.10.2012
pawn Код:
SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2]);
Re: Random spawn error -
SkyWings - 01.10.2012
Thanks, working.
Re: Random spawn error -
Gangster-rocks - 01.10.2012
LOL!!