Files
DayZ-Epoch/SQF/dayz_code/compile/local_lockUnlock.sqf

11 lines
223 B
Plaintext

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