Phil25
03-08-2016, 01:30
Hey guys!
Here's the situation. A plugin returns Plugin_Handled every time in SDKHook_OnTakeDamage, which successfully blocks all incoming damage, except for SDKHooks_TakeDamage.
How would I block damage from that native if I call it from a different plugin and don't know whether SDKHook_OnTakeDamage will return Plugin_Handled? Is there a way to check it?
Or should I drop SDKHook_TakeDamage altogether and use something different to hurt players?
Thanks for the help!
Here's the situation. A plugin returns Plugin_Handled every time in SDKHook_OnTakeDamage, which successfully blocks all incoming damage, except for SDKHooks_TakeDamage.
How would I block damage from that native if I call it from a different plugin and don't know whether SDKHook_OnTakeDamage will return Plugin_Handled? Is there a way to check it?
Or should I drop SDKHook_TakeDamage altogether and use something different to hurt players?
Thanks for the help!