SA-MP Forums Archive
[HELP]Teleporting players in order.. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Teleporting players in order.. (/showthread.php?tid=166199)



[HELP]Teleporting players in order.. - LasTRace - 07.08.2010

Hi,

I use a race script, and i want to create a teleporter. But it won't be random, because if at least 2 players spawns at the same point, it makes the race a chaos from beginning. It will teleport them in order, like this :

______________________________ >> start line
(Racer1) (Racer2) (Racer3) (Racer4)


I want to use this code to do it:

pawn Код:
new RacePosses[3][3] =
{
{x,y,z},{x,y,z},{x,y,z},{x,y,z},{x,y,z},{x,y,z}
};
Note: x y z has been created to show it simply, think as they are a coordinate.

Does it work for what i say?


Re: [HELP]Teleporting players in order.. - ikey07 - 07.08.2010

Yeah, sure