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

Compiling problems!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
niko4432
Junior Member
Join Date: Sep 2014
Location: Denmark
Old 08-20-2023 , 06:04   Compiling problems!
Reply With Quote #1

//// sh_ubergunner.sma
//
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\include \VexdUM.inc(24) : error 021: symbol already defined: "radius_damage"
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\include \VexdUM.inc(30) : error 021: symbol already defined: "DispatchKeyValue"
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\include \VexdUM.inc(34) : error 021: symbol already defined: "trace_line"
//


I cant compile a couple of heroes, i get this error. but i got the vexdUM files, anyone know how to fix this ?
niko4432 is offline
niko4432
Junior Member
Join Date: Sep 2014
Location: Denmark
Old 08-21-2023 , 13:20   Re: Compiling problems!
Reply With Quote #2

Solved ! found a fix
from arje!

Well I was able to solve it, I just had to modify the following lines in engine.inc

PHP Code:
native DispatchKeyValue(...);

native radius_damage(const Float:fExplodeAt[3], iDamageMultiplier, iRadiusMultiplier);

native trace_line(iIgnoreEnt, const Float:fStart[3], const Float:fEnd[3], Float:vReturn[3]);
To

PHP Code:
#if !defined AMXMOD_BCOMPAT
native DispatchKeyValue(...);
#endif

#if !defined AMXMOD_BCOMPAT
native radius_damage(const Float:fExplodeAt[3], iDamageMultiplier, iRadiusMultiplier);
#endif

#if !defined AMXMOD_BCOMPAT
native trace_line(iIgnoreEnt, const Float:fStart[3], const Float:fEnd[3], Float:vReturn[3]);
#endif

Last edited by niko4432; 08-21-2023 at 13:39.
niko4432 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 10:45.


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