Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
RE4CTIVE

Adding images to a hint (SQF)

Recommended Posts

In my SQF file I'm trying to add a hint (as a welcome message) with an image and positioned in the bottom middle section of the screen. I'm wondering if its possible to add the image without using a .PAA (I think that's correct) and just by calling a .PNG file.

Thanks in advance,

RE4CTIVE

Share this post


Link to post
Share on other sites
You can simply convert the png into a paa which I believe is needed. Use http://www.armaholic.com/page.php?id=1563 to convert.

Yeah I've done that, and here is my code

_imag  = "<img image='r4menu\splash.paa' align='center'/>";
_text = "<t color='#ff0000' size='1.2' shadow='1' shadowColor='#000000' align='center'>Welcome</t><br/><br/>";
hint parseText (_imag + _text);

But the image doesn't show, and I cannot find out how to make it appear in the bottom middle of the screen. Still appears on the top right.

Share this post


Link to post
Share on other sites

Ok, its 'sort of' working.

xjm6i5j.png

As you can see its overlaying the ammo count, which I dont want, and the image has no color...

The image should look like:

aLhdMWr.png

_imag  = "<img color='#ff0000' size='2' image='r4menu\splash.paa' align='center'/>";
_text = "<t color='#ff0000' size='1.2' align='center'>Welcome</t><br/><br/>";
hint parseText (_imag + _text);

Share this post


Link to post
Share on other sites

something is seriously screwed up with your gui, hint should be directly under ammo and about the same width.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×