1.7.5.D1208

This commit is contained in:
A Clark
2012-12-15 08:37:22 -06:00
parent 8842939a7b
commit f378947145
56 changed files with 2061 additions and 1157 deletions

View File

@@ -0,0 +1,26 @@
private["_character","_traderid","_buyorsell","_data","_result","_oid","_key","_outcome"];
_character = _this select 0;
_traderid = _this select 1;
_buyorsell = _this select 2;
diag_log format["DEBUG PVEH: %1", _character];
_clientID = owner _character;
diag_log ("TRADE: Trade Request by ClientID: "+ str(_clientID));
_oid = "ERROR";
//Send request
_key = format["CHILD:398:%1:%2:",_traderid,_buyorsell];
diag_log ("TRADE: WRITE: "+ str(_key));
_data = "HiveEXT" callExtension _key;
_result = call compile format ["%1",_data];
diag_log ("TRADE: RES: "+ str(_result));
_outcome = _result select 0;
dayzTradeResult = _outcome;
_clientID publicVariableClient "dayzTradeResult";