ACE3/addons/sitting/functions/fnc_canStand.sqf
2015-08-07 15:12:24 +02:00

22 lines
352 B
Plaintext

/*
* 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"
params ["_player"];
// Sitting
(_player getVariable [QGVAR(isSitting), false])