26.01.2010, 01:06
Bueno
en Death
para que este 5 segundo mirando y despues vuelvas
alguna lo sabe?
Gracias.
en Death
para que este 5 segundo mirando y despues vuelvas
alguna lo sabe?
Gracias.
public OnPlayerDeath(playerid, killerid, reason)
{
TogglePlayerSpectating(playerid, 1);
PlayerSpectatePlayer(playerid, killerid);
SetTimerEx("StopDeathSpec", 5000, 0, "dd", playerid, killerid);
return 1;
}
forward StopDeathSpec(playerid, killerid);
public StopDeathSpec(playerid, killerid)
{
TogglePlayerSpectating(playerid, 0);
SpawnPlayer(playerid);
}
Originally Posted by rankeron
Sorry Post Doble..
Bueno Cuando Se mato a un player y se dice "Respawn en: 5,4,3,2,1" se sale.. Gracias. |
Originally Posted by the_chaoz
Quote:
|
public OnPlayerDeath(playerid, killerid){ if(IsPlayerInAnyVehicle(killerid){ TogglePlayerSpectating(playerid, 1) PlayerSpectateVehicle(GetPlayerVehicleID(killerid)); } TogglePlayerSpectating(playerid, 1); PlayerSpectatePlayer(playerid, killerid); SetTimerEx("StopDeathSpec", 5000, 0, "dd", playerid); return 1;}
forward StopDeathSpec(playerid); public StopDeathSpec(playerid){ TogglePlayerSpectating(playerid, 0); SpawnPlayer(playerid); return 1;}