/* * Author: BaerMitUmlaut * Creates the stamina bar. * * Arguments: * 0: Display * * Return Value: * None */ #include "script_component.hpp" params ["_display"]; private _staminaBar = _display ctrlCreate [QGVAR(StaminaBarContainer), -1]; uiNamespace setVariable [QGVAR(staminaBarContainer), _staminaBar]; _staminaBar ctrlSetFade 1; _staminaBar ctrlCommit 0;