Advertisement
Guest User

Untitled

a guest
Oct 16th, 2014
868
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. -- console.canvasDrawText(text, {position = x, y}}, fontsize, {r, g, b [, a]})
  2. -- console.canvasDrawImage("/interface/quest.png", {50, 50}, 1)
  3. -- console.canvasDrawRect({x1, y1, x2, y2}, {color})
  4. -- console.configParameter() -- retrieve values from .config file
  5. -- console.canvasMousePosition()
  6. -- console.canvasDrawLine({x1, y1}, {x2, y2}, {color}, width)
  7. -- console.sourceEntity() -- entity id of the object tied to the console
  8. -- console.canvasDrawPoly({list of coordinate pairs},{color})
  9. -- console.canvasDrawImageCentered("/interface/quest.png", {50, 50}, 1)
  10. -- console.dismiss() -- close window
  11.  
  12. -- canvasKeyEvent(keycode, state) -- state is true for pressed, false for released
  13. -- canvasClickEvent(position, button)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement