#1

How To Have SpawnKill Protection
With Timer
Reply
#2

It's very simple:
pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerHealth(playerid, 999999.000);
    SetTimerEx("DisableGod", *SEC*, false, "i", playerid);

    return 1;
}

public DisableGod(playerid) return SetPlayerHealth(playerid, 100.000);
Reply
#3

the Sec is Millisecond or Second ?
Reply
#4

Milisecond..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)