Trying to draw an icon inside a string with drawTextEx.
In the window message, \I[n] works just fine, but it doesn't seem to be working when simply calling this.drawTextEx(text, x, y) where text is a string with \I [n] inside.
Am I doing something wrong?
Draw Text Ex question
● ARCHIVED · READ-ONLY
-
-
Try to use \\i[n] :3, this way should work!
-
Thanks! Working good!
-
The reason it's like this is, the message inside the message text is an already finished string due to the fact it's in a file.
However, when you input a fresh string of text, Javascript first converts \ characters as default escape tags before considering the text as final.