Raised This Month: $ Target: $400
 0% 

block effect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 06-21-2009 , 04:35   block effect
Reply With Quote #1

Is there anyway that i can block grenade effect of damage ?
__________________
ƒa†es™ is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-21-2009 , 04:39   Re: block effect
Reply With Quote #2

The effect or damage ? If damage, use Ham_TakeDamage and check if damagebits is DMG_GRENADE ( 1 << 24 ), thus supercede. To block the effect, you have to block TE_EXPLOSION message. ( Using register_message() for example )
__________________
Arkshine is offline
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 06-21-2009 , 11:42   Re: block effect
Reply With Quote #3

Quote:
Originally Posted by arkshine View Post
The effect or damage ? If damage, use Ham_TakeDamage and check if damagebits is DMG_GRENADE ( 1 << 24 ), thus supercede. To block the effect, you have to block TE_EXPLOSION message. ( Using register_message() for example )
Can you show some codes ?

I want like the user doesn't take damge from HE or taking effect like flashblang so won't not get flash.
__________________
ƒa†es™ is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode