falconx1 13 Posted July 9, 2013 i cant get the below code to accepts the variables _w = "7"; _n= "0.25"; hintSilent parseText format["<t size='1.1' color='#FFCC33' align='left'>AI Skill:%1</t>, _w<br/><t size='1.1' color='#FFCC33' align='left'>Enemies left:</t>%2 ,_n"]; Share this post Link to post Share on other sites
tpw 2315 Posted July 9, 2013 i cant get the below code to accepts the variables _w = "7"; _n= "0.25"; hintSilent parseText format["<t size='1.1' color='#FFCC33' align='left'>AI Skill:%1</t>, _w<br/><t size='1.1' color='#FFCC33' align='left'>Enemies left:</t>%2 ,_n"]; You've got the last quote in the wrong spot hintSilent parseText format["<t size='1.1' color='#FFCC33' align='left'>AI Skill:%1</t>, _w<br/><t size='1.1' color='#FFCC33' align='left'>Enemies left:</t>%2 ,_n"]; Try this hintSilent parseText format["<t size='1.1' color='#FFCC33' align='left'>AI Skill:%1</t>, _w<br/><t size='1.1' color='#FFCC33' align='left'>Enemies left:</t>%2" ,_n]; Share this post Link to post Share on other sites