PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Round start sound"
#define VERSION "1.0"
#define AUTHOR "EcKo"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("eventRoundend", 2, "1=Round_Start");
}
public eventRoundend()
{
new rand = random_num(0,2)
client_cmd(0,"stopsound")
switch(rand)
{
case 0: client_cmd(0,"spk sicsounds/zombie_start")
}
}
public plugin_precache()
{
precache_sound("sicsounds/zombie_start.wav")
}
didn't work.
__________________