SA-MP Forums Archive
OnPlayerTakeDamage not being called?... - 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 not being called?... (/showthread.php?tid=490606)



OnPlayerTakeDamage not being called?... - CreativityLacker - 27.01.2014

OPTD is not being called on my server since I updated to 0.3z
Anybody else having this problem?


Re: OnPlayerTakeDamage not being called?... - [KHK]Khalid - 27.01.2014

Returning 0 under OnPlayerWeaponShot?


Re: OnPlayerTakeDamage not being called?... - CreativityLacker - 28.01.2014

Quote:
Originally Posted by [KHK]Khalid
View Post
Returning 0 under OnPlayerWeaponShot?
nope :/


Re: OnPlayerTakeDamage not being called?... - Lordzy - 28.01.2014

Haven't experienced this on the RCs I've tested, I'm not sure about RC3 or RC4. Are you using any includes which hooks this callback? If so, check if it returns any values before hooking with the other OPTD calls.