31.07.2011, 23:58
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerTime(playerid, 12, 00);
SendClientMessage(playerid, BLANCO, "5 Segundos de Invulnerabilidad");
SetTimerEx("SpawnProtectionOff", 5000, 0, "d", playerid);
if(PlayerInfo[playerid][Swat] == 1)
{
pawn Код:
public SpawnProtectionOff(playerid)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, ROJO, "Ahora Eres Vulnerable.");
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
}
return 1;
}
tenes que suicidarte volves a spawnear y ahi recien te anda
Ayuda hay algun error?
Gracias