diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index 4f99c12..a048992 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -1292,7 +1292,7 @@ public OnPlayerDeath( playerid, killerid, reason ) //DCC_SendChannelMessageFormatted( discordGeneralChan, "*%s(%d) has killed %s(%d) - %s!*", ReturnPlayerName( killerid ), killerid, ReturnPlayerName( playerid ), playerid, ReturnWeaponName( reason ) ); - if ( !IsPlayerAdminOnDuty( killerid ) ) + if ( !IsPlayerAdminOnDuty( killerid ) && ! IsPlayerInEvent( killerid ) ) { new killerGangId = p_GangID[ killerid ]; @@ -1440,7 +1440,7 @@ public OnPlayerDeath( playerid, killerid, reason ) DeletePVar( playerid, "used_cmd_kill" ); } - if ( ! IsPlayerInPaintBall( playerid ) && !p_LeftPaintball{ playerid } && !IsPlayerAdminOnDuty( playerid ) ) + if ( ! IsPlayerInPaintBall( playerid ) && !p_LeftPaintball{ playerid } && ! IsPlayerAdminOnDuty( playerid ) && ! IsPlayerInEvent( playerid ) ) { if ( playerGangId != INVALID_GANG_ID ) SaveGangData( playerGangId ), g_gangData[ playerGangId ] [ E_DEATHS ]++;