1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Weapon Mods
  6. Orb
  7. Equipped
  8. Food/Medicine
  9. Furniture/Construction
  10. Color/Pattern
  11. Items
  12. Attributes
  13. Creatures
  14. Blocks
  15. Props
  16. API Types
  17. 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.