admin on duty cannot obtain xp / score from killing

This commit is contained in:
Steven Howard 2018-12-01 22:46:40 +00:00
parent ae481b1e81
commit 1d4d736d5f

View File

@ -2326,7 +2326,7 @@ public OnPlayerDeath( playerid, killerid, reason )
}
}
if ( p_Class[ killerid ] != CLASS_POLICE )
if ( p_Class[ killerid ] != CLASS_POLICE && ! IsPlayerAdminOnDuty( playerid ) )
{
GivePlayerWantedLevel( killerid, 12 );
GivePlayerScore( killerid, 1 );