mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Cleanup Script
This commit is contained in:
@@ -1,9 +1,4 @@
|
|||||||
private ["_character","_traderid","_buyorsell","_data","_result","_key","_outcome","_clientID"];
|
private ["_character","_traderid","_buyorsell","_data","_result","_key","_outcome","_clientID"];
|
||||||
/*
|
|
||||||
PVDZE_obj_Trade = [_activatingPlayer,_traderID,_bos]; //OLD
|
|
||||||
PVDZE_obj_Trade = [_activatingPlayer,_traderID,_bos,_obj,inTraderCity]; //NEW
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
_player = _this select 0;
|
_player = _this select 0;
|
||||||
_traderID = _this select 1;
|
_traderID = _this select 1;
|
||||||
@@ -12,10 +7,6 @@ _classname = _this select 3;
|
|||||||
_traderCity = _this select 4;
|
_traderCity = _this select 4;
|
||||||
_clientID = owner _player;
|
_clientID = owner _player;
|
||||||
|
|
||||||
//Old Logway
|
|
||||||
//diag_log format["TRADE: Trade Request by ClientID: %1 Character: %2 TraderID: %3 BuyOrSell: %4", _clientID, _character,_traderID,_buyorsell];
|
|
||||||
|
|
||||||
//New Logway WIP by Skaronator
|
|
||||||
if (_buyorsell == 0) then { //Buy
|
if (_buyorsell == 0) then { //Buy
|
||||||
diag_log format["EPOCH SERVERTRADE: Player: %1 (%2) bought a %3 in/at %4", (name _player), (getPlayerUID _player), _classname, _traderCity];
|
diag_log format["EPOCH SERVERTRADE: Player: %1 (%2) bought a %3 in/at %4", (name _player), (getPlayerUID _player), _classname, _traderCity];
|
||||||
} else { //SELL
|
} else { //SELL
|
||||||
|
|||||||
Reference in New Issue
Block a user