Spawnkill = Dead
#9

Код:
Antispawnkill(playerid); //put on onplayerspawn


stock Antispawnkill(playerid) //put on the bottom of the script
{
    new spawnkill;
    {
        SetPlayerHealth(playerid,99999);
	SendClientMessage(playerid, 0x00FF00AA, "You are now protected by anti spawn-kill!");
        SetTimerEx("StopAntiSpawnKill",5000,0,"i",playerid);
    }
    return spawnkill;
}

forward StopAntiSpawnKill(playerid);
public StopAntiSpawnKill(playerid)
{
    SetPlayerHealth(playerid,100);
    SendClientMessage(playerid, 0xFF0000AA, "Spawn kill protection is now over!");
    return 1;
}
Reply


Messages In This Thread
Spawnkill = Dead - by Blackazur - 21.12.2013, 16:15
Re: Spawnkill = Dead - by Konstantinos - 21.12.2013, 16:17
Re: Spawnkill = Dead - by CutX - 21.12.2013, 16:22
AW: Spawnkill = Dead - by Blackazur - 21.12.2013, 16:26
Re: Spawnkill = Dead - by CutX - 21.12.2013, 16:31
Re: Spawnkill = Dead - by MBilal - 21.12.2013, 16:33
AW: Spawnkill = Dead - by Blackazur - 21.12.2013, 16:34
Re: Spawnkill = Dead - by SilentSoul - 21.12.2013, 17:04
Re: Spawnkill = Dead - by NinjaWarrior - 21.12.2013, 17:57

Forum Jump:


Users browsing this thread: 4 Guest(s)