PHP Code:
public OnPluginStart()
{
AddNormalSoundHook(NormalSHook:sound_hook);
}
public Action:sound_hook(clients[64], &numClients, String:sample[PLATFORM_MAX_PATH], &entity, &channel, &Float:volume, &level, &pitch, &flags)
{
//Use this to find the sound you want to block
PrintToChatAll("%s",sample);
//Block sound
if(StrEqual(sample,""))
return Plugin_Stop;
return Plugin_Continue;
}
__________________