From 0bbf4b41189a96fb392e00f9a16e4caf5661a843 Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Tue, 21 Jan 2020 11:58:08 -0600 Subject: [PATCH] Update Player.hpp --- SQF/dayz_code/util/Player.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/util/Player.hpp b/SQF/dayz_code/util/Player.hpp index 374499ff8..2f04abf3a 100644 --- a/SQF/dayz_code/util/Player.hpp +++ b/SQF/dayz_code/util/Player.hpp @@ -11,7 +11,7 @@ Author: Foxy //True if player is on a ladder, otherwise false #define Player_IsOnLadder() ((getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1) -#define Player_IsInVehicle() (player != vehicle player); +#define Player_IsInVehicle (player != vehicle player) //Gets the classname of the player's sidearm. nil if the player has no sidearm. #define Player_GetSidearm() ({ if ((getNumber (configFile >> "CfgWeapons" >> _x >> "type")) == 2) exitWith { _x }; nil } foreach weapons player) @@ -52,4 +52,4 @@ The weaponholder containing the item is returned. Returns null if the function f #define Player_GetStance_PRONE 3 #define Player_GetStance() (1 + floor ((((toArray animationState player) select 5) - 100) / 5)) -#endif \ No newline at end of file +#endif