arma2-epoch-server/MPMissions/DayZ_Epoch_24.Napf/dayz_code/compile/local_lockUnlock.sqf
2022-04-21 16:15:41 +03:00

13 lines
340 B
Plaintext
Executable File

private ["_vehicle","_status"];
_vehicle = _this select 0;
_status = _this select 1;
if (local _vehicle) then {
if(_status) then {
_vehicle setVehicleLock "LOCKED";
//_vehicle setVariable ["MF_Tow_Cannot_Tow",true,true];
} else {
_vehicle setVehicleLock "UNLOCKED";
//_vehicle setVariable ["MF_Tow_Cannot_Tow",false,true];
};
};