mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-05-15 15:13:22 +03:00
Lock/unlock vehicle optimizations part 2
This commit is contained in:
@@ -2,6 +2,10 @@ private ["_vehicle","_status"];
|
|||||||
_vehicle = _this select 0;
|
_vehicle = _this select 0;
|
||||||
_status = _this select 1;
|
_status = _this select 1;
|
||||||
|
|
||||||
//if (local _vehicle) then {
|
if (local _vehicle) then {
|
||||||
_vehicle lock _status;
|
if(_status) then {
|
||||||
//};
|
_vehicle setVehicleLock "LOCKED";
|
||||||
|
} else {
|
||||||
|
_vehicle setVehicleLock "UNLOCKED";
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user