Skip to content

Commit

Permalink
push inventory global for now
Browse files Browse the repository at this point in the history
  • Loading branch information
vbawol committed Jun 2, 2014
1 parent a6953a6 commit 726e4e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SQF/dayz_server/system/server_monitor.sqf
Expand Up @@ -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
Expand Down
Binary file modified Server Files/@DayZ_Epoch_Server/addons/dayz_server.pbo
Binary file not shown.

0 comments on commit 726e4e0

Please sign in to comment.