fixes q to avoid arrest for admins spectating - Damen
This commit is contained in:
parent
a304a00ede
commit
81c52f3b3f
@ -503,7 +503,7 @@ stock AwardNearestLEO( playerid, reason )
|
|||||||
|
|
||||||
new closestLEO = GetClosestPlayerEx( playerid, CLASS_POLICE, radius );
|
new closestLEO = GetClosestPlayerEx( playerid, CLASS_POLICE, radius );
|
||||||
|
|
||||||
if ( IsPlayerConnected( closestLEO ) )
|
if ( IsPlayerConnected( closestLEO ) && !p_Spectating{ closestLEO } )
|
||||||
{
|
{
|
||||||
new reasonText[ 24 ];
|
new reasonText[ 24 ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user