25.08.2009, 11:50
Top of the script:
The cell-number (which has a value of 3 currently), changes on an accord of how many sets of co-ordinates you put in there. Change the X,Y,Z as well, obviously.
I'm not sure, that might work.
Код:
new Float: RandomSpawns[3][] = {
{X,Y,Z},
{X,Y,Z},
{X,Y,Z}
};
Код:
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid,RandomSpawns[random(3)]);
return 1;
}

