mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
#835 vehicle upgrade wipes cargo
This commit is contained in:
@@ -124,7 +124,7 @@ if (_IsNearVehicle >= 1) then {
|
|||||||
_objWpnQty = _weapons select 1;
|
_objWpnQty = _weapons select 1;
|
||||||
_countr = 0;
|
_countr = 0;
|
||||||
{
|
{
|
||||||
_holder addweaponcargoGlobal [_x,(_objWpnQty select _countr)];
|
_holder addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
|
||||||
_countr = _countr + 1;
|
_countr = _countr + 1;
|
||||||
} forEach _objWpnTypes;
|
} forEach _objWpnTypes;
|
||||||
|
|
||||||
@@ -133,7 +133,7 @@ if (_IsNearVehicle >= 1) then {
|
|||||||
_objWpnQty = _magazines select 1;
|
_objWpnQty = _magazines select 1;
|
||||||
_countr = 0;
|
_countr = 0;
|
||||||
{
|
{
|
||||||
_holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)];
|
_holder addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
|
||||||
_countr = _countr + 1;
|
_countr = _countr + 1;
|
||||||
} forEach _objWpnTypes;
|
} forEach _objWpnTypes;
|
||||||
|
|
||||||
@@ -142,7 +142,7 @@ if (_IsNearVehicle >= 1) then {
|
|||||||
_objWpnQty = _backpacks select 1;
|
_objWpnQty = _backpacks select 1;
|
||||||
_countr = 0;
|
_countr = 0;
|
||||||
{
|
{
|
||||||
_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];
|
_holder addBackpackCargoGlobal [_x,(_objWpnQty select _countr)];
|
||||||
_countr = _countr + 1;
|
_countr = _countr + 1;
|
||||||
} forEach _objWpnTypes;
|
} forEach _objWpnTypes;
|
||||||
|
|
||||||
@@ -168,4 +168,4 @@ if (_IsNearVehicle >= 1) then {
|
|||||||
cutText [(localize "STR_EPOCH_PLAYER_27"), "PLAIN DOWN"];
|
cutText [(localize "STR_EPOCH_PLAYER_27"), "PLAIN DOWN"];
|
||||||
};
|
};
|
||||||
|
|
||||||
DZE_ActionInProgress = false;
|
DZE_ActionInProgress = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user