22.05.2015, 23:50
?
pawn Код:
new IgnoreSpawn[MAX_PLAYERS];
AvoidSpawn(playerid)
{
IgnoreSpawn[playerid] = true;
}
public OnPlayerSpawn()
{
if(IgnoreSpawn[playerid] == true)
{
IgnoreSpawn[playerid] = false;
return 1;
}
/*
* put all your code here...
* no worry because it will not
* be executed if IgnoreSpawn is true
*/
return 1;
}