diff --git a/gamemodes/irresistible/cnr/player.pwn b/gamemodes/irresistible/cnr/player.pwn index 82526f1..76ca334 100644 --- a/gamemodes/irresistible/cnr/player.pwn +++ b/gamemodes/irresistible/cnr/player.pwn @@ -14,6 +14,7 @@ #define IsPlayerGettingBlowed(%0) (p_GettingBlowjob{%0}) #define IsPlayerLoadingObjects(%0) (p_pausedToLoad{%0}) #define IsPlayerAdminJailed(%0) (p_AdminJailed{%0} && p_JailTime[%0]) +#define IsPlayerDetained(%0) (p_Detained{%0}) /* ** Variables ** */ new diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index a3dc8a1..f3c5984 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -7091,11 +7091,6 @@ stock IsPlayerInArmyVehicle( playerid ) return false; } -stock IsPlayerDetained( playerid ) -{ - return p_Detained{ playerid }; -} - new playersPeakCount = 0; stock UpdatePlayerCounters()