Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private ["_display","_text","_listBox","_index","_configName","_goTo","_name","_picture","_description","_textPosition"];
- _display = uiNamespace getVariable ["RRPDialogListGroups",displayNull];
- true call RRPClient_gui_util_blur;
- _text = _display displayCtrl 9803;
- _textPosition = ctrlPosition _text;
- _listBox = _this select 0;
- _index = _this select 1;
- _configName = _listBox lbData _index;
- _goTo = missionConfigFile >> "CfgGroups" >> "PremiumGroups";
- _name = getText (_goTo >> _configName >> "name");
- _picture = getText (_goTo >> _configName >> "picture");
- _description = getText (_goTo >> _configName >> "description");
- _text ctrlSetStructuredText (parseText (format [
- "<t><t size='1.5' font='gtav' color='%4' align='center'>%1</t><br/><br/>
- <t color='FF0000' size='7' align='center'><img image='%2'></t><br/><br/>
- <t size='1' color='%4'>%3</t></t>",_name,_picture,_description,profileNamespace getVariable ['GUI_V3_TXT_HTML','#000000']]));
- _textPosition set [3,((ctrlTextHeight _text) + (0.005 * safezoneH))];
- _text ctrlSetPosition _textPosition;
- _text ctrlCommit 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement