View Single Post
Internet Bully
Member
Join Date: Apr 2014
Old 05-20-2015 , 16:30   Re: Using SDKHook_Touch with grenades?
Reply With Quote #14

You might be able to check for hp/armor decrements of 1 using OnDamageTake and then check the weapon/source (hegrenade_projectile?) or damagetype (DMG_CLUB (1 << 7)) to see if it was a nade bouncing on you.
__________________
Buy me a beer
or donate to Sourcemod
Taking some private plugin requests

Last edited by Internet Bully; 05-20-2015 at 16:55.
Internet Bully is offline