optimises IsPlayerDetained function placement

This commit is contained in:
Damen 2019-04-11 21:00:08 -04:00
parent da2fbe5440
commit f7655afcc1
2 changed files with 1 additions and 5 deletions

View File

@ -14,6 +14,7 @@
#define IsPlayerGettingBlowed(%0) (p_GettingBlowjob{%0}) #define IsPlayerGettingBlowed(%0) (p_GettingBlowjob{%0})
#define IsPlayerLoadingObjects(%0) (p_pausedToLoad{%0}) #define IsPlayerLoadingObjects(%0) (p_pausedToLoad{%0})
#define IsPlayerAdminJailed(%0) (p_AdminJailed{%0} && p_JailTime[%0]) #define IsPlayerAdminJailed(%0) (p_AdminJailed{%0} && p_JailTime[%0])
#define IsPlayerDetained(%0) (p_Detained{%0})
/* ** Variables ** */ /* ** Variables ** */
new new

View File

@ -7091,11 +7091,6 @@ stock IsPlayerInArmyVehicle( playerid )
return false; return false;
} }
stock IsPlayerDetained( playerid )
{
return p_Detained{ playerid };
}
new playersPeakCount = 0; new playersPeakCount = 0;
stock UpdatePlayerCounters() stock UpdatePlayerCounters()