How to solve this "undefined symbol" error?
Hello, i get these errors:
Code:
//AMXXPC compile.exe Here is the code: Code:
#include <amxmodx> This is added: Code:
set_ent_rendering(plr, kRenderFxGlowShell, 0, 150, 50, kRenderNormal, 3); Code:
set_ent_rendering(plr); Thanks. |
Re: How to solve this "undefined symbol" error?
set_ent_rendering() is an AMX Mod X built-in function and is defined when you include engine.inc. You likely need to fix your setup. If you're not 1.9.0 or newer, you need to upgrade, it does not exist in 1.8.2.
|
Re: How to solve this "undefined symbol" error?
Upgrading Amxx is REQUIRED, as previously stated. Script was never intended for the passe Amxx 182. Through perseverance, glow is possible.
Code:
|
Re: How to solve this "undefined symbol" error?
Quote:
Quote:
|
Re: How to solve this "undefined symbol" error?
did you even read what he wrote? he just explained with examples what you have to do to make the glow effect to work
Quote:
|
Re: How to solve this "undefined symbol" error?
Quote:
|
Re: How to solve this "undefined symbol" error?
Quote:
Now, i would like to know is what is the difference between the first and the second method and which method is better? And if the function doesn't exist in AMXX 1.8.2, how does the firts method solves the problem if it doesn't add new codes/functionalities? EDIT: If i use only this code: Code:
#if !defined set_ent_rendering But if i use this code: Code:
#if AMXX_VERSION_NUM == 182 zp43_gas_mask.sma(20) : error 017: undefined symbol "set_pev" zp43_gas_mask.sma(20) : warning 215: expression has no effect zp43_gas_mask.sma(20) : error 001: expected token: ";", but found ")" zp43_gas_mask.sma(20) : error 029: invalid expression, assumed zero zp43_gas_mask.sma(20) : fatal error 107: too many error messages on one line If i combine both codes shown above, i get the following: zp43_gas_mask.sma(22) : error 025: function heading differs from prototype zp43_gas_mask.sma(23) : error 021: symbol already defined: "set_rendering" zp43_gas_mask.sma(24) : error 017: undefined symbol "set_pev" zp43_gas_mask.sma(24) : warning 215: expression has no effect zp43_gas_mask.sma(24) : error 001: expected token: ";", but found ")" zp43_gas_mask.sma(24) : error 029: invalid expression, assumed zero zp43_gas_mask.sma(24) : fatal error 107: too many error messages on one line If i use this code: Code:
#include amxmodx So, i listed the problems. It seems the first method works best for me - i will use the first method. Thanks. |
Re: How to solve this "undefined symbol" error?
zp43_gas_mask.sma(20) : error 017: undefined symbol "set_pev"
-> include <fakemeta> |
Re: How to solve this "undefined symbol" error?
@GlobalPlague. Method 1 is more efficient. Regarding Method 2, same as fm_set_ent_rendering.
|
All times are GMT -4. The time now is 18:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.