jonnyetiz 10 Posted January 6, 2018 First Issue: I made this dialog a little bit back, and I put it in a dialog folder. A3Life_Hud.hpp Spoiler class A3Life_Hud { idd = 911939; duration = 10e10; fadein = 0; fadeout = 0; name = "A3Life_Hud"; onLoad = "uiNamespace setVariable ['A3LIFEHUD',_this select 0];" enableSimulation = true; class ControlsBackground { class Background { type = 0; idc = -1; x = safeZoneX + safeZoneW * 0.83105469; y = safeZoneY + safeZoneH * 0.73263889; w = safeZoneW * 0.15332032; h = safeZoneH * 0.24131945; style = 2+128; text = ""; colorBackground[] = {0,0,0,0.5}; colorText[] = {1,1,1,1}; font = "PuristaMedium"; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); }; class NameFactionBackground { type = 0; idc = 0; x = safeZoneX + safeZoneW * 0.84082032; y = safeZoneY + safeZoneH * 0.74652778; w = safeZoneW * 0.13378907; h = safeZoneH * 0.09722223; style = 0; text = ""; colorBackground[] = {0,0,0,0.5}; colorText[] = {0,0,0,0}; font = "PuristaMedium"; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); }; class MoneyBackground { type = 0; idc = 0; x = safeZoneX + safeZoneW * 0.84082032; y = safeZoneY + safeZoneH * 0.859375; w = safeZoneW * 0.13378907; h = safeZoneH * 0.09722223; style = 0; text = ""; colorBackground[] = {0,0,0,0.5}; colorText[] = {0,0,0,0}; font = "PuristaMedium"; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); }; }; class Controls { class Name { type = 0; idc = 100; x = safeZoneX + safeZoneW * 0.84570313; y = safeZoneY + safeZoneH * 0.75694445; w = safeZoneW * 0.12402344; h = safeZoneH * 0.02951389; style = 0; text = "Name"; colorBackground[] = {0,0,0,0}; colorText[] = {1,1,1,1}; font = "PuristaBold"; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); }; class Faction { type = 0; idc = 101; x = safeZoneX + safeZoneW * 0.84570313; y = safeZoneY + safeZoneH * 0.80034723; w = safeZoneW * 0.12402344; h = safeZoneH * 0.02951389; style = 0; text = "Faction"; colorBackground[] = {0,0,0,0}; colorText[] = {1,1,1,1}; font = "PuristaBold"; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); }; class Money { type = 0; idc = 102; x = safeZoneX + safeZoneW * 0.84570313; y = safeZoneY + safeZoneH * 0.86979167; w = safeZoneW * 0.12402344; h = safeZoneH * 0.02951389; style = 0; text = "Money"; colorBackground[] = {0,0,0,0}; colorText[] = {1,1,1,1}; font = "PuristaBold"; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); }; class Bank { type = 0; idc = 103; x = safeZoneX + safeZoneW * 0.84570313; y = safeZoneY + safeZoneH * 0.921875; w = safeZoneW * 0.12402344; h = safeZoneH * 0.02951389; style = 0; text = "Bank"; colorBackground[] = {0,0,0,0}; colorText[] = {1,1,1,1}; font = "PuristaBold"; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1); }; }; }; Whenever I try to do createDialog "A3Life_Hud"; It says "Resource A3Life_Hud not found" This has happened with the other dialog I made for an ATM. Second Issue: I'm working on this script (It's supposed to work with the aforementioned dialog): statusbar.sqf: Spoiler _name = player getVariable["A3LifeName", true]; _faction = player getVariable["A3LifeFaction", true]; _money = player getVariable["A3LifeMoney", true]; _bank = player getVariable["A3LifeBank", true]; _playername = parseText format ["<t font='PuristaSemibold' size='1' align='left'>%1</t>", _name]; _playerfaction = parseText format ["<t font='PuristaSemibold' size='1' align='left'>%1</t>", _faction]; _playermoney = parseText format ["<t font='PuristaSemibold' align='left' size='1'>%1</t>", _money]; _playerbank = parseText format ["<t font='PuristaSemibold' align='left' size='1'>%1</t>", _bank]; ((uiNamespace getVariable "A3LIFEHUD") displayCtrl 100) ctrlSetStructuredText _playername; ((uiNamespace getVariable "A3LIFEHUD") displayCtrl 101) ctrlSetStructuredText _playerfaction; ((uiNamespace getVariable "A3LIFEHUD") displayCtrl 102) ctrlSetStructuredText _playermoney; ((uiNamespace getVariable "A3LIFEHUD") displayCtrl 103) ctrlSetStructuredText _playerbank; Whenever I load up a mission, I get the following error: https://gyazo.com/4034de669081e6b9298bdf678a40d97e If someone could help me fix these issues, it would be greatly appreciated. Please note that this is my first time working with dialogs, and I haven't done any scripting in a LONG time. Share this post Link to post Share on other sites