Skip to content

nut.bar

rebel1324 edited this page Dec 25, 2014 · 2 revisions

This library is CLIENTSIDE library that allows you register and manage new bars on top right corner. Also this library can be overridden in the schema. If you're care about the consistency of theme so much, Override nut.bar.draw and nut.bar.drawAction.

Methods

  • nut.bar.add(getValue, color, priority, identifier)
  • Register new bar.
  • nut.bar.draw(x, y, w, h, value, color)
  • Draw Bar on the screen.
  • nut.bar.drawAction()
  • Draw Action Progress Bar.
  • nut.bar.drawAll()
  • Draw All Library stuffs.
Clone this wiki locally