time help
#5

try this
pawn Код:
public OnPlayerSpawn(playerid)
{
    SetTimerEx("AntiSpawnKill",10000,false,"i",playerid);
    Antikill[playerid] = true;
    return 1;
}
pawn Код:
forward AntiSpawnKill(playerid);
public AntiSpawnKill(playerid)
{
    if(Antikill[playerid] == true)
    {
        SetPlayerHealth(playerid,100);
        SendClientMessage(playerid, 0xFF0000AA, "Anti-Spawnkill protection is over now!");
        Antikill[playerid] = false;
    }
    return 1;
}
Reply


Messages In This Thread
time help - by tanush - 14.03.2011, 17:31
Respuesta: time help - by Code8976Man - 14.03.2011, 17:37
Re: time help - by Medal Of Honor team - 14.03.2011, 17:37
Re: time help - by antonio112 - 14.03.2011, 17:39
Re: time help - by Ironboy - 14.03.2011, 17:41
Respuesta: Re: time help - by Code8976Man - 14.03.2011, 17:43
Re: time help - by tanush - 14.03.2011, 18:02
Re: Respuesta: Re: time help - by antonio112 - 14.03.2011, 18:21

Forum Jump:


Users browsing this thread: 1 Guest(s)