11.04.2011, 08:54
Quote:
pawn Код:
|
pawn Код:
public OnPlayerSpawn(playerid)
{
if(EndRoundCounter != 0)//if the round is busy ..
{
SendClientMessage(playerid, COLOR_RED,"Sorry, you can't join while the round is in progress, you have to wait ...");
SendClientMessage(playerid, COLOR_ORANGE,"While you have to wait, you can specate some players");
GameTextForPlayer(playerid, "~y~Round in progress ...", 1250, 3);
for(new i; i<MAX_PLAYERS; i++)
{
new randomplayer = Iter_Random(Player);
TogglePlayerSpectating(playerid, 1);
PlayerSpectateVehicle(playerid,randomplayer);
}
}
//.....