aod not counted as a person that can takeover

This commit is contained in:
Lorenc Pekaj 2018-11-15 01:11:44 +11:00
parent fd8d9655db
commit 36fa43ff1e

View File

@ -518,7 +518,7 @@ stock Turf_IsAbleToTakeover( i ) {
Float: Z; Float: Z;
GetPlayerPos( i, Z, Z, Z ); GetPlayerPos( i, Z, Z, Z );
return p_Class[ i ] == CLASS_CIVILIAN && ! p_AntiSpawnKillEnabled{ i } && ! IsPlayerPassive( i ) && GetPlayerState( i ) != PLAYER_STATE_SPECTATING && ! IsPlayerAFK( i ) && Z <= 250.0; return p_Class[ i ] == CLASS_CIVILIAN && ! p_AntiSpawnKillEnabled{ i } && ! IsPlayerPassive( i ) && ! IsPlayerAdminOnDuty( i ) && GetPlayerState( i ) != PLAYER_STATE_SPECTATING && ! IsPlayerAFK( i ) && Z <= 250.0;
} }
stock Turf_RedrawPlayerGangZones( playerid ) stock Turf_RedrawPlayerGangZones( playerid )