mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
0.97
+ Fixed detection of vehicles in vehicle sell menu + Added trade in progress checks to all traders. + set pos after direction on deployables when placed. + Server side set pos after direction when spawning anything.
This commit is contained in:
@@ -91,7 +91,7 @@ diag_log format["DEBUG Buy: %1", dayzTraderMenuResult];
|
||||
|
||||
_count = 0;
|
||||
if(_type == "CfgVehicles") then {
|
||||
_count = {_x == _name} count (position player nearObjects [_name,10]);
|
||||
_count = {(typeOf _x) == _name} count (nearestObjects [player, [_name], 10]);
|
||||
};
|
||||
if(_type == "CfgMagazines") then {
|
||||
_count = {_x == _name} count magazines player;
|
||||
|
||||
Reference in New Issue
Block a user