mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-16 17:33:22 +03:00
New Logsystem Script Side
This commit is contained in:
@@ -24,7 +24,7 @@ _bos = 0;
|
||||
if(_buy_o_sell == "buy") then {
|
||||
_qty = {_x == _part_in} count magazines player;
|
||||
} else {
|
||||
_obj = nearestObjects [(getPosATL player), [_part_in], dayz_sellDistance];
|
||||
_obj = nearestObjects [(getPosATL player), [_part_in], dayz_sellDistance_vehicle];
|
||||
_qty = count _obj;
|
||||
_bos = 1;
|
||||
};
|
||||
@@ -81,7 +81,9 @@ if (_qty >= _qty_in) then {
|
||||
if (_qty >= _qty_in) then {
|
||||
|
||||
//["PVDZE_obj_Trade",[_activatingPlayer,_traderID,_bos]] call callRpcProcedure;
|
||||
PVDZE_obj_Trade = [_activatingPlayer,_traderID,_bos];
|
||||
if (isNil _obj) then { _obj = "Unknown Vehicle" };
|
||||
if (isNil inTraderCity) then { inTraderCity = "Unknown Trader City" };
|
||||
PVDZE_obj_Trade = [_activatingPlayer,_traderID,_bos,_obj,inTraderCity];
|
||||
publicVariableServer "PVDZE_obj_Trade";
|
||||
|
||||
//diag_log format["DEBUG Starting to wait for answer: %1", PVDZE_obj_Trade];
|
||||
|
||||
Reference in New Issue
Block a user