mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Update Player.hpp
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user