Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- File: fn_weaponShopMenu.sqf
- Author: Bryan "Tonic" Boardwine
- Description:
- Something
- */
- private["_config","_itemInfo","_itemList","_store"];
- _store = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param;
- [_store,player] call life_fnc_shopperInfo;
- uiNamespace setVariable ["Weapon_Shop",_this select 3];
- disableSerialization;
- if(!(createDialog "life_weapon_shop")) exitwith {};
- _config = [_this select 3] call life_fnc_weaponShopCfg;
- if(typeName _config == "STRING") exitWith {hint _config; closeDialog 0;};
- ctrlSetText[38401,_config select 0];
- _filters = ((findDisplay 38400) displayCtrl 38402);
- lbClear _filters;
- _filters lbAdd localize "STR_Shop_Weapon_ShopInv";
- _filters lbAdd localize "STR_Shop_Weapon_YourInv";
- _filters lbSetCurSel 0;
Advertisement
Add Comment
Please, Sign In to add comment