Temp godmode at spawn?
#4

Quote:
Originally Posted by biltong
Thanks!

Will report back on progress.

EDIT: How would I go about integrating that into my code? I made another function like so:

pawn Код:
public OnPlayerSpawn(playerid)
{
    GivePlayerMoney(playerid, PocketMoney);
    SetPlayerHealth(playerid, 100000.0);
    SetTimerEx("stopgod", 30000, 0, "%i", playerid);
    SendClientMessage(playerid, COLOR_RED, "You are invulnerable for 30 seconds after spawning to prevent spawncamping.");
    return 1;
}
//---------------------------------------------------------
public stopgod(playerid)
{
    SetPlayerHealth(playerid, 100.0);
    return 1;
}
Reply


Messages In This Thread
Temp godmode at spawn? - by biltong - 20.01.2010, 19:19
Re: Temp godmode at spawn? - by Joe Staff - 20.01.2010, 19:26
Re: Temp godmode at spawn? - by biltong - 23.01.2010, 09:28
Re: Temp godmode at spawn? - by llama - 23.01.2010, 10:09
Re: Temp godmode at spawn? - by biltong - 23.01.2010, 10:34
Re: Temp godmode at spawn? - by llama - 23.01.2010, 10:40
Re: Temp godmode at spawn? - by biltong - 23.01.2010, 10:47
Re: Temp godmode at spawn? - by llama - 23.01.2010, 10:55
Re: Temp godmode at spawn? - by bluray - 23.01.2010, 11:44
Re: Temp godmode at spawn? - by llama - 23.01.2010, 11:52

Forum Jump:


Users browsing this thread: 9 Guest(s)