Custom elements in a separate HUD?

  • cat
    30th Sep 2014 Member 0 Permalink

    I want to make a hud that would add a box that says "test1" or so and when clicked would do the same as it would do if it was in the menu? Say i add it to the menu but not visible with lua make it select it and use it anyways? Is this possible?

     

    Example, I add a button that says Lava into my HUD it selects lava as the element to draw with.

    Edited 2 times by cat. Last: 30th Sep 2014
  • jacob1
    30th Sep 2014 Developer 0 Permalink
    You can't add to the HUD, but you can replicate it or just add a button elsewhere. It's also possible to set elements by using tpt.selectedl="DEFAULT_PT_LAVA" or things like this.