Hey guys,
I'm trying to write little plugin which only shows the deathnotices in CS:GO to the players involved (killer, victim, assister).
I know how to block that event in general:
Code:
public void OnPluginStart()
{
HookEvent("player_death", Event_PlayerDeath, EventHookMode_Pre);
}
public Action Event_PlayerDeath(Event event, const char[] name, bool dontBroadcast)
{
SetEventBroadcast(event, true);
return Plugin_Continue;
}
But it would be great if somebody knows how to block the event only for certain players (the ones not involved).
__________________