mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Update player_unlockVault.sqf
This commit is contained in:
@@ -109,8 +109,11 @@ if ((_ownerID == dayz_combination) or (_ownerID == dayz_playerUID)) then {
|
|||||||
_objWpnQty = _magazines select 1;
|
_objWpnQty = _magazines select 1;
|
||||||
_countr = 0;
|
_countr = 0;
|
||||||
{
|
{
|
||||||
_holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)];
|
if( _x != "CSGAS" ) then
|
||||||
_countr = _countr + 1;
|
{
|
||||||
|
_holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)];
|
||||||
|
_countr = _countr + 1;
|
||||||
|
};
|
||||||
} forEach _objWpnTypes;
|
} forEach _objWpnTypes;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -120,12 +123,8 @@ if ((_ownerID == dayz_combination) or (_ownerID == dayz_playerUID)) then {
|
|||||||
_objWpnQty = _backpacks select 1;
|
_objWpnQty = _backpacks select 1;
|
||||||
_countr = 0;
|
_countr = 0;
|
||||||
{
|
{
|
||||||
|
_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];
|
||||||
if( _x != "CSGAS" ) then
|
_countr = _countr + 1;
|
||||||
{
|
|
||||||
_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];
|
|
||||||
_countr = _countr + 1;
|
|
||||||
};
|
|
||||||
} forEach _objWpnTypes;
|
} forEach _objWpnTypes;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user