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


void LT_draw_window(number x,number y,number width,number height,number type)

numberx The x coordinate of window's top left corner
numbery The y coordinate of window's top left corner
numberwidth The width of window
numberheight The height of window
numbertype The kind of window to draw

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

Draws a window on the screen. This function draws a window on the screen in one of three types. If type is 0, draws a normal window with a frame and background. If type is 1, draws a window frame without a background. If type is 2, draws a window background without the frame.