I think you have to hook 'SendAudio' message. The second parameter is a radio sound name.
Here is a part of NST replace radio sounds.
Code:
// Replace Radio
public message_SendAudio(msg_id, msg_dest, msg_entity)
{
// get value
new audio[64], audio_f[8], id, sex, mod_runing
id = get_msg_arg_int(1)
sex = get_user_sex(id)
get_msg_arg_string(2, audio, charsmax(audio))
format(audio_f, charsmax(audio_f), "%s", audio)
// replace sound radio 1 - 3
new check, radio_new[64]
for (new i=0; i<23; i++)
{
if( equal(audio[7], RADIO_MESSEAGE[i]))
{
format(radio_new, charsmax(radio_new), "%s", get_urlsound_radio(RADIO_FILE[i], sex))
check = 1
}
}
// replace sound radio other
if (equal(audio_f, "%!MRAD_") && !check)
{
// radio one
replace(audio, charsmax(audio), "%!MRAD_", "")
strtolower(audio)
format(radio_new, charsmax(radio_new), "%s", get_urlsound_radio(audio, sex))
}
// replace radio
if (file_exists(get_fullurl_radio(radio_new))) set_msg_arg_string(2, radio_new)
return PLUGIN_CONTINUE
}
__________________