23.01.2010, 09:28
Thanks!
Will report back on progress.
EDIT: How would I go about integrating that into my code? I made another function like so:
Will report back on progress.
EDIT: How would I go about integrating that into my code? I made another function like so:
Код:
public OnPlayerSpawn(playerid) { GivePlayerMoney(playerid, PocketMoney); SetPlayerHealth(playerid, 100000.0); SetTimerEx("stopgod", 30000,0); 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; }