optimises IsPlayerDetained function placement
This commit is contained in:
parent
da2fbe5440
commit
f7655afcc1
@ -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
|
||||
|
@ -7091,11 +7091,6 @@ stock IsPlayerInArmyVehicle( playerid )
|
||||
return false;
|
||||
}
|
||||
|
||||
stock IsPlayerDetained( playerid )
|
||||
{
|
||||
return p_Detained{ playerid };
|
||||
}
|
||||
|
||||
new playersPeakCount = 0;
|
||||
|
||||
stock UpdatePlayerCounters()
|
||||
|
Loading…
Reference in New Issue
Block a user