SlovakianLynx 82 Posted December 18, 2020 This is getting so frustraiting! I have been trying to figure out how to make a hint with picture and text underneath it for two days, but every time the hint pops up an error, or just doesn't show up at all. Here is the latest script: hint parseText "<img image="pics\slynx_WW2_SAS_Objfail.paa"/></img> <br/><br/><t size='1.2'>You failed to find Schumman</t> "; obj_1 setTaskState "FAILED"; playSound "fail"; player addRating -2000; sleep 5; enableRadio False; clearRadio; 5 fadeMusic 0; ["lose",false,5,false] spawn BIS_fnc_endMission; It also does not work, when I try to show only the picture without text, however, when I want to show the text only, that works. What am I doing wrong, or is there a better way to do it? I've also seen some scripts for this with multiple lines, but, that was too much for my simple brain. Share this post Link to post Share on other sites
Schatten 254 Posted December 18, 2020 @SlovakianLynx, you mixed syntaxes of img-tag. Use the one of listed here. Share this post Link to post Share on other sites
SlovakianLynx 82 Posted December 18, 2020 That's what I was trying to do... Share this post Link to post Share on other sites
Schatten 254 Posted December 18, 2020 @SlovakianLynx, use either <img image="pics\slynx_WW2_SAS_Objfail.paa" /> or <img image="pics\slynx_WW2_SAS_Objfail.paa"></img> Share this post Link to post Share on other sites
Schatten 254 Posted December 18, 2020 @SlovakianLynx, also it's not allowed to use quotes inside quotes and apostrophes inside apostrophes. This code should work: hint parseText "<img image='pics\slynx_WW2_SAS_Objfail.paa'/><br/><br/><t size='1.2'>You failed to find Schumman</t>"; 1 1 Share this post Link to post Share on other sites
SlovakianLynx 82 Posted December 18, 2020 10 minutes ago, Schatten said: @SlovakianLynx, also it's not allowed to use apostrophes inside quotes and vice versa. This code should work: hint parseText "<img image='pics\slynx_WW2_SAS_Objfail.paa'/><br/><br/><t size='1.2'>You failed to find Schumman</t>"; That works! Thanks man, you'we been a huge help. Share this post Link to post Share on other sites