Oh no. >.> ?!
1.
register_plugin(....) should be in
plugin_init()
2.3D array :S...why ?!
3.Code should look like this :
Code:
#include <amxmodx>
#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"
#define SOUNDS_NUMBER 4
stock const sound_test[SOUNDS_NUMBER][/*max len*/] = {
"csound/1.wav",
"csound/2.wav",
"csound/3.wav",
"csound/4.wav"
}
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR);
}
public plugin_precache()
{
for(new z = 0 ; z < sizeof sound_test ; z++)
{
precache_sound(sound_test[z]);
}
}
__________________