23.01.2015, 13:32
Get the positions that the player must spawn and put them on OnPlayerSpawn.
This is a example of random places to spawn,you can put directly the position vars without the random var if you want.
PHP код:
new RandomPos[][]=
{
//my positions
};
public OnPlayerSpawn(playerid)
{
new randpos = random(RandomPos[]);
SetPlayerPos(playerid, randpos[]);
//rest of your code
return 1;
}