Draw Text Ex question

● ARCHIVED · READ-ONLY
Started by MushroomCake28 4 posts View original ↗
  1. 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?
  2. Try to use \\i[n] :3, this way should work!
  3. Thanks! Working good!
  4. 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.