mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
22 lines
353 B
Plaintext
22 lines
353 B
Plaintext
|
#include "script_component.hpp"
|
||
|
/*
|
||
|
* 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
|
||
|
*/
|
||
|
|
||
|
params ["_player"];
|
||
|
|
||
|
// Sitting
|
||
|
!isNil {_player getVariable QGVAR(sittingStatus)}
|