25.09.2013, 02:06
Top of the script, gather all the random spawns you want.
pawn Код:
new Float:gdmspawn[][3] =
{
{x,y,z},
{x,y,z},
{x,y,z}
};
pawn Код:
new id = random(sizeof(gdmspawn));
SetPlayerPos(playerid, gdmspawn[id][0],gdmspawn[id][1],gdmspawn[id][2]);
SetPlayerInterior(playerid, 0); // depends where you set the spawn
SetPlayerVirtualWorld(playerid, 0); // choosing the vw of the player.
TogglePlayerControllable(playerid, false); // letting the player move.