error 008: must be a constant expression
wats wrong with this? basically i want to have it be dynamic thats why i wont have it as a global
this is just a small portion of the actually thing but it shows basically what i want /home/groups/amxmodx/tmp3/textyYESGo.sma(14 -- 15) : error 008: must be a constant expression; assumed zero 1 Error. Could not locate output file /home/groups/amxmodx/public_html/websc3/textyYESGo.amx (compile failed). PHP Code:
|
Re: error 008: must be a constant expression
Oh no. >.> ?!
1.register_plugin(....) should be in plugin_init() 2.3D array :S...why ?! 3.Code should look like this : Code:
#include <amxmodx> |
Re: error 008: must be a constant expression
1. dont have to be, it works in plugin_precache if ur only registering the plugin
2. cuz i want it to be dynamic, so when i change SoundNumber to another number, it will be another set of sounds 3. that wouldnt make it dynamic anymore |
Re: error 008: must be a constant expression
Quote:
Example: Code:
Would NOT work, you would get "Must be a constant expression" error. This would work: Code:
You can't use variables and such, like you where. |
Re: error 008: must be a constant expression
Also 64 is the len of array!
|
Re: error 008: must be a constant expression
so then there is no possible way for this to work?
PHP Code:
|
| All times are GMT -4. The time now is 16:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.