Jump to content
LoOni3r

Dialog Image will not be shown

Recommended Posts

Good day,

I have already googled a lot and tried many possibilities.

I hope someone can explain my mistake.
Thank you very much

 

asd.png

 

.hpp class:

		class image
		{
			type = 0;
			idc = 2;
			x = safeZoneX + safeZoneW * 0.19375;
			y = safeZoneY + safeZoneH * 0.64;
			w = safeZoneW * 0.1125;
			h = safeZoneH * 0.15888889;
			style = 0;
			text = "";
			colorBackground[] = {0,0,0,1};
			colorText[] = {0.7804,0.0392,0.0078,1};
			font = "PuristaMedium";
			sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
			
		};

my info.sqf:

_lblPicture = getText(configFile >> "cfgVehicles" >> _cfgname >> "picture"); 
ctrlSetText [2,_lblPicture];

 

Share this post


Link to post
Share on other sites

Set your style to 48 (0x30 which is ST_PICTURE)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×