aod not counted as a person that can takeover
This commit is contained in:
parent
fd8d9655db
commit
36fa43ff1e
@ -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 )
|
||||||
|
Loading…
Reference in New Issue
Block a user