Agora sobre Random Spawns.
Acima do OnGameModeInit
PAWN Code:
new Float:Spawns[][4] =
{
{}, //Coordenadas
{}, //Coordenadas
{}, //Coordenadas
{} //Coordenadas
};
{
{}, //Coordenadas
{}, //Coordenadas
{}, //Coordenadas
{} //Coordenadas
};
Agora, no OnPlayerSpawn
PAWN Code:
new rnd = random(sizeof(Spawns));
SetPlayerPos(playerid, Spawns[rnd][0], Spawns[rnd][1], Spawns[rnd][2]);
SetPlayerFacingAngle(playerid, Spawns[rnd][3]);
SetCameraBehindPlayer(playerid);
SetPlayerPos(playerid, Spawns[rnd][0], Spawns[rnd][1], Spawns[rnd][2]);
SetPlayerFacingAngle(playerid, Spawns[rnd][3]);
SetCameraBehindPlayer(playerid);
Bem esta tudo, espero ter ajudado