Commit Graph

5 Commits

Author SHA1 Message Date
ebaydayz
7151f6859f Fix trader menu expected array error
TraderItemList and TraderCatList should be initialized as arrays, not numbers. Fixes this error:
```
Error in expression < 0;
if (_index < 0) exitWith {};
while {count TraderItemList < 1} do { sleep 1; >
  Error position: <count TraderItemList < 1} do { sleep 1; >
  Error count: Type Number, expected Array,Config entry
File z\addons\dayz_code\compile\player_traderMenuHive.sqf, line 174
```
See: https://github.com/vbawol/DayZ-Epoch/issues/1616

Tested buying and selling to all the stary and base traders as well as the boat dealer with these changes. No more error or problems.
2015-02-04 14:13:08 -05:00
icomrade
e54b9983dd Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
2014-05-27 15:37:57 -04:00
Zac Surplice
6a58370670 small change 2013-11-27 15:42:38 +11:00
Zac Surplice
cf2cdc037a localization #2 2013-11-06 19:34:53 +11:00
[VB]AWOL
72046680aa Added trader menus by @maca134 2013-08-11 09:23:32 -05:00