ACE3/addons/medical/functions/fnc_getSelectedBodyPart.sqf

16 lines
331 B
Plaintext
Raw Normal View History

/**
* fn_getSelectedBodyPart.sqf
* @Descr: Get the current selected body part for client
* @Author: Glowbal
*
* @Arguments: []
* @Return: STRING bodyPart selected
* @PublicAPI: true
*/
#include "script_component.hpp"
if (isnil QGVAR(selectedBodyPart)) then {
GVAR(selectedBodyPart) = "head";
};
GVAR(selectedBodyPart)