25.12.2014, 21:54
Your "Anti-Health hacking" code is not complete. You need to also hook SetPlayerHealth so it follows your "Anti-Health hacking system". Also, the rest of your code doesn't take into consideration that there's a limit for the player health(the spawn protection script, for example). And this is not really a tutorial; more of a code snippet post.
Good read: https://sampforum.blast.hk/showthread.php?tid=65567
Good read: https://sampforum.blast.hk/showthread.php?tid=65567