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 LTH_draw(string fn)

This hook expects functions of the form:

void fn()

CLIENT This has no effect if performed on the server

Sets the hook for drawing on the screen in a layer below the HUD but above the environment. The hooked function will be called every frame to draw on the screen. This is useful for drawing things like minigames, gameplay related menus, annotating objects in the world, etc.