Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- createDialog "SOG_FMSStore";
- _array = _store getVariable "isStore";
- _currentCategory = _store getVariable "storeCategory";
- _currentModset = _store getVariable "storeModest";
- diag_log format ["Category: %1 Modset %2", _currentCategory, _currentModset];
- _storeName = _array select 0;
- _storeFilters = _array select 1;
- _storeItems = _array select 2;
- _storeMods = _array select 3;
- ctrlSetText [1000, _storeName];
- {
- _index = lbAdd [2101, _x];
- } forEach _storeMods;
- lbSetCurSel [2101, 0];
- {
- _index = lbAdd [2102, _x];
- } forEach _storeFilters;
- lbSetCurSel [2102, 2];
- [_currentCategory] call SOG_fnc_addItemsToStore;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement