28.06.2011, 01:01
Coloque isso:
Espero ter ajudado!
Crйditos: Wiki SA-MP
pawn Код:
// Topo
new TimerX[MAX_PLAYERS];
forward TempoX(playerid);
public OnPlayerDeath(playerid, killerid, reason)
{
TimerX[playerid] = SetTimerEx("TempoX", 7000, true, "i", playerid);
TogglePlayerSpectating(playerid, 1);
PlayerSpectatePlayer(playerid, killerid);
return 1;
// Final do gm
public TempoX(playerid)
{
TogglePlayerSpectating(playerid, 0);
SpawnPlayer(playerid);
KillTimer(TimerX[playerid]);
return 1;
}
Espero ter ajudado!
Crйditos: Wiki SA-MP