25.07.2015, 11:34
Yeah Thank But what about the Anti Health hack?
I want to ask is it give problem when he die and auto get Health too fast from OnPLayerSPawn fast rather than getting it from SetPlayerHealthEx ?.
Код:
stock SetPlayerHealthEx(playerid, Float:Health) { HealthAllowed[playerid] = true; SetPlayerHealth(playerid, Health); } save under 1 sec Timer new Float:health; GetPlayerHealth(i, health); if (health >= 100 && HealthAllowed[i] == false) { BanMessages(i, "Health Hack"); }