ACE3/addons/sitting/functions/fnc_canStand.sqf

22 lines
350 B
Plaintext
Raw Normal View History

2015-06-07 20:00:43 +00:00
/*
* Author: Jonpas
* Check if the player can stand up (is in sitting position).
*
* Arguments:
* Player <OBJECT>
*
* Return Value:
* Can Stand Up <BOOL>
*
* Example:
* player call ace_sitting_fnc_canStand;
*
* Public: No
*/
#include "script_component.hpp"
2015-08-07 13:12:24 +00:00
params ["_player"];
2015-06-07 20:00:43 +00:00
// Sitting
!isNil {_player getVariable QGVAR(isSitting)}