09.02.2010, 20:40
pawn Код:
forward DeathTimer(playerid); // Put at the top of your script
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SetTimer("DeathTimer", 60000, 0); // If a player dies it sets a timer, 60000 is 1 minute.
return 1;
}
pawn Код:
public DeathTimer(playerid) // The timer will read this after 1 minute
{
SpawnPlayer(playerid); // To spawn the player
return 1;
}