Files
DayZ-Epoch/dayz_code/actions/lock_veh.sqf
vbawol 16878f0e5a 0.973
+ fixed cargo check
+ remove lock/unlock options from vehicles after performing action
2013-02-20 12:59:03 -06:00

10 lines
246 B
Plaintext

private["_vehicle"];
_vehicle = _this select 3;
{player removeAction _x} forEach s_player_lockunlock;s_player_lockunlock = [];
s_player_lockUnlock_crtl = -1;
_vehicle setVehicleInit "this lock true; this lockCargo true;";
processInitCommands;