Try :
PHP Code:
public grenade_throw(id,ent,wid)
{
if(!get_cvar_num("amx_custom_radio"))
return PLUGIN_CONTINUE
I haven't checked, but player could still be considerated as alive when he dies and throw his nade.
Anyway, grenade_throw is not a smart way to change the sound.
Correct way would be to set it there :
PHP Code:
new arg2[20]
get_msg_arg_string(2, arg2, 19)
if(equal(arg2[1], "!MRAD_FIREINHOLE"))
{
return PLUGIN_HANDLED
}
instead fo blocking, set the string to custom sound.
__________________