Code: Select all
#include <amxmodx>
native rg_send_audio(const index, const sample[], const pitch = PITCH_NORM);
forward fbans_player_banned_pre(id, userid)
public fbans_player_banned_pre(id, userid)
{
if(is_user_connected(id))
rg_send_audio(0, "sound/ambience/alarm1.wav");
}