[FilterScript] Anti Spawn Kill [08.10.2011] Version 1.0
#7

There is no need for protect variable and other things

pawn Код:
OnPlayerSpawn(playerid)
{
    SetPlayerHealth(playerid, 9999);
    SetTimerEx("UnProtect", 5000, 0, "d", playerid);
    return 1;
}

forward UnProtect(playerid);
public UnProtect(playerid)
{
    SetPlayerHealth(playerid, 100);
    return 1;
}
Also
pawn Код:
SetTimerEx("UnPro", 7000, 0, "i");
Its working for you cos its returning 0 replace that "i" and add playerid behind
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)