ACE3/addons/arsenal/missions/Arsenal.VR/fnc_onPause.sqf

17 lines
437 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2017-12-22 08:39:01 +00:00
params ["_display"];
private _ctrlButtonAbort = _display displayCtrl 104;
_ctrlButtonAbort ctrlSetText localize LSTRING(Mission);
_ctrlButtonAbort ctrlSetEventHandler [
"ButtonClick", {
params ["_control"];
ctrlParent _control closeDisplay 2;
2017-12-22 14:09:06 +00:00
{[player, player, true] call FUNC(openBox)} call CBA_fnc_execNextFrame;
true
} call EFUNC(common,codeToString)
2017-12-22 08:39:01 +00:00
];
true