Hello
Is there any way to block the Counter-Terrorist and Terrorist win sound ?
Because this doesn't work (required include are done):
Code:
public plugin_init()
{
register_plugin("MyTest",
"Hebusletroll",
"0.0")
register_forward(FM_EmitSound,"emitsound")
}
public emitsound(entity, channel, const sample[])
{
if(equali(sample,"radio/terwin.wav")||equali(sample,"radio/ctwin.wav")) {
return FMRES_SUPERCEDE
}
return FMRES_IGNORED
}
^^
Why it doesn't work ? ;)