Update arrest.pwn
This commit is contained in:
parent
f0e46849bf
commit
de946d243f
@ -437,7 +437,7 @@ stock BreakPlayerCuffs( playerid )
|
|||||||
|
|
||||||
stock AwardNearestLEO( playerid, reason )
|
stock AwardNearestLEO( playerid, reason )
|
||||||
{
|
{
|
||||||
if ( ! IsPlayerConnected( playerid ) || playerid == INVALID_PLAYER_ID || GetPlayerWantedLevel( playerid ) < 2 || ReturnPlayerHealth( playerid ) <= 0 )
|
if ( ! IsPlayerConnected( playerid ) || playerid == INVALID_PLAYER_ID || GetPlayerWantedLevel( playerid ) < 2 || IsPlayerDead( playerid ) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
#if defined __cloudy_event_system
|
#if defined __cloudy_event_system
|
||||||
|
Loading…
Reference in New Issue
Block a user