Hi, I tried to change the sound but it did not work where was the problem?
PHP Code:
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_forward(FM_EmitSound , "EmitSound");
}
public EmitSound(entity, channel, const sound[])
{
if(equal(sound , "weapons/cbar_miss1.wav"))
{
emit_sound(entity, channel, "hlzm/claw_miss.wav", 1.0, ATTN_NORM, 0, PITCH_NORM);
client_print(entity, print_chat,"This sound ====> Done!")
return FMRES_SUPERCEDE;
}
return FMRES_IGNORED;
}
__________________