need quotes if using isnil

This commit is contained in:
[VB]AWOL
2013-11-17 00:24:29 -06:00
parent a58839d32b
commit 26f9238cf9
6 changed files with 12 additions and 12 deletions

View File

@@ -84,8 +84,8 @@ if (_qty >= _qty_in) then {
if (_qty >= _qty_in) then {
//["PVDZE_obj_Trade",[_activatingPlayer,_traderID,_bos]] call callRpcProcedure;
if (isNil _bag) then { _bag = "Unknown Backpack" };
if (isNil inTraderCity) then { inTraderCity = "Unknown Trader City" };
if (isNil "_bag") then { _bag = "Unknown Backpack" };
if (isNil "inTraderCity") then { inTraderCity = "Unknown Trader City" };
PVDZE_obj_Trade = [_activatingPlayer,_traderID,_bos,_bag,inTraderCity];
publicVariableServer "PVDZE_obj_Trade";