From 36fa43ff1e7d2b11878012932f2d847e391ba61d Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Thu, 15 Nov 2018 01:11:44 +1100 Subject: [PATCH] aod not counted as a person that can takeover --- gamemodes/irresistible/cnr/features/gangs/turfs.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/features/gangs/turfs.pwn b/gamemodes/irresistible/cnr/features/gangs/turfs.pwn index eebda56..afcbe1d 100644 --- a/gamemodes/irresistible/cnr/features/gangs/turfs.pwn +++ b/gamemodes/irresistible/cnr/features/gangs/turfs.pwn @@ -518,7 +518,7 @@ stock Turf_IsAbleToTakeover( i ) { Float: 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 )