Raised This Month: $32 Target: $400
 8% 

HE Grenade Conc Jumping


Post New Thread Reply   
 
Thread Tools Display Modes
silentscope
Junior Member
Join Date: Jul 2011
Old 06-06-2022 , 07:29   Re: HE Grenade Conc Jumping
Reply With Quote #21

Quote:
Originally Posted by DJEarthQuake View Post
Code:
#if !defined DMG_GRENADE
const DMG_GRENADE = (1<<24)
#endif
DMG_GRENADE is not defined in 182. This will make it compile on both versions.
it worked, thanks, error message just got me confused
silentscope is offline
Old 06-27-2022, 06:29
Infamanious
This message has been deleted by Infamanious.
Old 06-27-2022, 06:29
Infamanious
This message has been deleted by Infamanious.
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 06-27-2022 , 07:08   Re: HE Grenade Conc Jumping
Reply With Quote #22

It compiled on 110 fine for me. Swap with 1 line.

#if !defined DMG_GRENADE
const DMG_GRENADE = (1<<24)
#endif

Code:
#define DMG_GRENADE
__________________
DJEarthQuake is offline
Infamanious
Senior Member
Join Date: Dec 2005
Old 06-27-2022 , 08:24   Re: HE Grenade Conc Jumping
Reply With Quote #23

Quote:
Originally Posted by DJEarthQuake View Post
It compiled on 110 fine for me. Swap with 1 line.

#if !defined DMG_GRENADE
const DMG_GRENADE = (1<<24)
#endif

Code:
#define DMG_GRENADE
Weird. I just removed the dmg_grenade altogether and then it compiled. Im guessing thats why the HE grenade kept killing me. I also tried adding the define line as well and it worked. Too bad this is nothing like TFC concing heh.
Infamanious is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 06-27-2022 , 08:48   Re: HE Grenade Conc Jumping
Reply With Quote #24

The file that you posted was unmodified so that was why.
Replacing,
const DMG_GRENADE = (1<<24)
with,
#define DMG_GRENADE
is timeless because that makes it work on Amxx 182 as well without interfering with development branch compilations.
__________________
DJEarthQuake is offline
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 05:51.


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