11.05.2014, 18:03
Check if the player is not an admin
But if player using godmode in s0be1t, it doesn't change the player health amount. It's blocking health taking and OnPlayerTakeDamage won't be called.
Код:
public OnPlayerUpdate(playerid) { if(!IsPlayerAdmin(playerid)) //or player variable if you have an admin system { new Float:hp; GetPlayerHealth(playerid, hp); if(hp >= 101) //do shit } return 1; }