I guess... not sure what you're trying to do:
Code:
#include <amxmodx>
new sound[] = "misc/change.wav"
public plugin_init()
{
register_plugin("TimeSound","1.0","Mulan")
register_cvar("amx_time_sound", "60.0")
set_task(get_cvar_float("amx_time_sound"),"time_sound")
return PLUGIN_CONTINUE
}
public plugin_precache()
{
precache_sound(sound)
}
public time_sound()
{
client_cmd(0,"spk %s",sound)
return PLUGIN_CONTINUE
}
__________________