mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
11 lines
223 B
Plaintext
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";
|
|
};
|
|
}; |