Raised This Month: $48 Target: $400
 12% 

Impulse Grenade


Post New Thread Reply   
 
Thread Tools Display Modes
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-14-2018 , 06:20   Re: Impulse Grenade
Reply With Quote #21

1.g_offEvent: I said to use real offset names so people understand what the code is going. The right name is m_usEvent. I did not come up with it, that's how the offset is named in game's code.
2.Since you are using Ham_TakeDamage you can get rid of manually calling deathmsg by changing DMG_BLAST to DMG_GRENADE in TakeDamage call.
__________________
HamletEagle is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: [<o>]
Old 08-14-2018 , 07:39   Re: Impulse Grenade
Reply With Quote #22

Done.
__________________
EFFx is offline
Send a message via Skype™ to EFFx
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-14-2018 , 07:44   Re: Impulse Grenade
Reply With Quote #23

You need to define DMG_GRENADE, IIRC it's 1 << 24.
__________________
HamletEagle is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: [<o>]
Old 08-14-2018 , 08:00   Re: Impulse Grenade
Reply With Quote #24

I compiled fine with 1.8.3, forget to define < 1.8.2.
__________________
EFFx is offline
Send a message via Skype™ to EFFx
Reply


Thread Tools
Display Modes

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 09:32.


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