OnPlayerTakeDamage - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerTakeDamage (
/showthread.php?tid=617091)
OnPlayerTakeDamage -
GoldenLion - 15.09.2016
Hi, is it possible to check if player has OnPlayerTakeDamage disabled? Like, I tested my custom health and armor system with my friend, he had some kind of cheat that just disables OnPlayerTakeDamage so I couldn't damage him, although I have serversided health I couldn't damage him just because OnPlayerTakeDamage is not being called. Anyways is it possible to detect if player has OnPlayerTakeDamage disabled or can I replace it with anything? I don't really want to use OnPlayerGiveDamage either because I want to keep the default SAMP sync.