SA-MP Forums Archive
Protect against instant kill - 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: Protect against instant kill (/showthread.php?tid=624182)



Protect against instant kill - MerryDeer - 12.12.2016

Hi,

How to protect from instant kill hacks? maybe checking onplayertake damage if player takes any damage, and onplayerdeath, check if that time was when taked damage?


Re: Protect against instant kill - Ari - 12.12.2016

https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage

https://sampwiki.blast.hk/wiki/Gettime