ACE3/addons/laser_selfdesignate/functions/fnc_onGetout.sqf
2015-01-19 20:13:12 -08:00

10 lines
327 B
Plaintext

#include "script_component.hpp"
_onActionId = player getVariable[QGVAR(onActionId), -1];
_offActionId = player getVariable[QGVAR(offActionId), -1];
player removeAction _onActionId;
player removeAction _offActionId;
player setVariable[QGVAR(onActionId), -1, false];
player setVariable[QGVAR(offActionId), -1, false];