mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-04 18:29:34 +03:00
push inventory global for now
This commit is contained in:
1 parent
a6953a69c2
commit
726e4e0c22
2 files changed
+3
-3
No files matched your search
@@ -179,9 +179,9 @@ if (isServer && isNil "sm_done") then {
|
||||
if (count _intentory > 0) then {
|
||||
if (_type in DZE_LockedStorage) then {
|
||||
// Fill variables with loot
|
||||
_object setVariable ["WeaponCargo", (_intentory select 0)];
|
||||
_object setVariable ["MagazineCargo", (_intentory select 1)];
|
||||
_object setVariable ["BackpackCargo", (_intentory select 2)];
|
||||
_object setVariable ["WeaponCargo", (_intentory select 0),true];
|
||||
_object setVariable ["MagazineCargo", (_intentory select 1),true];
|
||||
_object setVariable ["BackpackCargo", (_intentory select 2),true];
|
||||
} else {
|
||||
|
||||
//Add weapons
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user