admin on duty cannot obtain xp / score from killing
This commit is contained in:
parent
ae481b1e81
commit
1d4d736d5f
@ -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 );
|
GivePlayerWantedLevel( killerid, 12 );
|
||||||
GivePlayerScore( killerid, 1 );
|
GivePlayerScore( killerid, 1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user