1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Equipped
  6. Food/Medicine
  7. Items
  8. Attributes
  9. Creatures
  10. Blocks
  11. Props
  12. API Types
  13. API Functions

LT_draw_string

void LT_draw_string(number x,number y,string str)

numberx The x coordinate on screen to draw at
numbery The y coordinate on screen to draw at
stringstr The text string to draw

DRAW Calling this outside of a drawing hook or on the server will crash the addon

Draws a text string on the screen. The text string may have formatting characters that change the color of the text or insert icons. \c[#] will change the text to a color, specified as an index between 0 and 13. The color will depend on the current system graphic style. \i[name] will insert an icon in its place where name is the filename of the icon resoure. \b will insert a line break, putting text after it on a new line.