You have to change quite a bit of code. Since its so big, the code is everywhere, as in the very top the middle and the bottom. What I suggest is disabling the loading sound and go to the original plugin and use that, its much easier. THey have examples and Ill show you and example also, which you can change the names of the songs and compile yourself.
PHP Code:
#include <amxmodx>
#define Maxsounds 5
public plugin_precache() {
precache_sound("misc/RoadtoZion2.mp3")
precache_sound("misc/trance6.mp3")
precache_sound("misc/trance7.mp3")
precache_sound("misc/trance8.mp3")
precache_sound("misc/trance10.mp3")
return PLUGIN_CONTINUE
}
new soundlist[Maxsounds][] = {"RoadtoZion2","trance6","trance7","trance8","trance10"}
public client_connect(id) {
new i
i = random_num(0,Maxsounds-1)
client_cmd(id,"mp3 play sound/misc/%s",soundlist[i])
return PLUGIN_CONTINUE
}
public plugin_init() {
register_plugin("Loading Sound","1.0","AMXX")
return PLUGIN_CONTINUE
}
__________________