11.05.2010, 02:34
you can make a variable and a timer for the spawning part..
at top of script:
OnPlayerConnect:
OnPlayerRequestSpawn:
OnPlayerDeath:
Then add a timer on onplayerdeath for the amount of secs you want and make the timer change canspawn to 1 so they can spawn
at top of script:
Код:
CanSpawn[MAX_PLAYERS];
Код:
CanSpawn(playerid) = 1;
Код:
if(CanSpawn == 0)
{
SendClientMessage(playerid,color,"You cannot spawn yet!");
return 0;
}
Код:
CanSpawn = 0;

