30.03.2012, 18:20
Well yes it is possible, my thought was with having a Variable and it starts off at 0 like so:
Then when Spawn a car, you would use for example:
Something like that, and just change the Coordinates for each car, then with the last car coordinate, instead of setting SpawnPos = Next Number
set it back to 0. like so:
SpawnPos = 0;
This would loop the Spawn.
Basic and easy.
pawn Код:
new SpawnPos = 0;
pawn Код:
if(SpawnPos == 0)
{
//Spawncar on X Y Z
SpawnPos = 1;
return 1;
}
else if(SpawnPos == 1)
{
//Second Car Spawn
SpawnPos = 2;
return 1;
}
set it back to 0. like so:
SpawnPos = 0;
This would loop the Spawn.
Basic and easy.