mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-03 11:51:36 +03:00
cargo check only on unlocked vehicles
This commit is contained in:
1 parent
a57d26f66f
commit
d580ea9ef7
1 file changed
+1
-1
@@ -252,7 +252,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
};
|
||||
|
||||
If(DZE_AllowCargoCheck) then {
|
||||
if((_isVehicle or _isTent or _isnewstorage) and _isAlive and !_isMan) then {
|
||||
if((_isVehicle or _isTent or _isnewstorage) and _isAlive and !_isMan and !locked _cursorTarget) then {
|
||||
if (s_player_checkGear < 0) then {
|
||||
s_player_checkGear = player addAction ["Cargo Check", "\z\addons\dayz_code\actions\cargocheck.sqf",_cursorTarget, 1, true, true, "", ""];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user