ACE3/TO_MERGE/agm/Captives/functions/fn_handlePlayerChanged.sqf

13 lines
196 B
Plaintext

// by commy2
private ["_unit", "_oldUnit"];
_unit = _this select 0;
_oldUnit = _this select 1;
if (_unit getVariable ["AGM_isCaptive", false]) then {
showHUD false;
} else {
showHUD true;
};