mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-05-15 15:13:22 +03:00
Organize files a bit and removed non source pbo's
This commit is contained in:
11
SQF/dayz_code/compile/local_lockUnlock.sqf
Normal file
11
SQF/dayz_code/compile/local_lockUnlock.sqf
Normal file
@@ -0,0 +1,11 @@
|
||||
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";
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user