In OnPluginStart:
Code:
HookEvent("player_death", Event_PlayerDeath, EventHookMode_Pre);
Event_PlayerDeath function:
Code:
public Action:Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast) {
SetEventInt(event, "revenge", 1);
return Plugin_Continue;
}
The downside of this is that every time you kill or get killed, you hear the revenge sound. It gets old quick.