07.08.2010, 19:57
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:
Note: x y z has been created to show it simply, think as they are a coordinate.
Does it work for what i say?
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}
};
Does it work for what i say?