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:
#include <amxmodx>
#define MAX_ALLOWED 64
new const Sound_Test[4][MAX_ALLOWED][64]
new SoundNumber
public plugin_precache() {
register_plugin("","","")
SoundNumber = 4
Sound_Test[SoundNumber] = {
"csound/1.wav",
"csound/2.wav",
"csound/3.wav",
"csound/4.wav"
}
}