mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
fix floating loot piles...
This commit is contained in:
@@ -58,6 +58,7 @@ if (_hasoutput and !_invehicle) then {
|
||||
_iPos = getPosATL player;
|
||||
_radius = 0.0;
|
||||
_item = createVehicle ["WeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"];
|
||||
_item setposATL _iPos;
|
||||
} else {
|
||||
_item = _nearByPile select 0;
|
||||
};
|
||||
|
||||
@@ -58,6 +58,7 @@ if (_hasoutput and !_invehicle) then {
|
||||
_iPos = getPosATL player;
|
||||
_radius = 0.0;
|
||||
_item = createVehicle ["WeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"];
|
||||
_item setposATL _iPos;
|
||||
} else {
|
||||
_item = _nearByPile select 0;
|
||||
};
|
||||
|
||||
@@ -54,6 +54,8 @@ if(_type == "backpack") then {
|
||||
_b0x1337 addBackpackCargoGlobal [_create,_qty];
|
||||
};
|
||||
|
||||
_b0x1337 setPosATL _location;
|
||||
|
||||
player reveal _b0x1337;
|
||||
|
||||
player action ["Gear", _b0x1337];
|
||||
|
||||
Reference in New Issue
Block a user