Jump to content

setPlayerHudComponentVisible


Recommended Posts

how to hide the hud while login panel is opened? i tried to use the code of setPlayerHudComponentVisible and didnt work

11159515_912883062091728_3327230297480089859_n.png?oh=7397892260d1c8ad17bf57b8b2261898&oe=5608A425&__gda__=1443237455_365b62084ee3708c471a32064ac30e80

  
function dxDrawLoginPanel( ) 
    if ( isOpen ) then 
        dxDrawRectangle(pX-400, pY-400, 3000, 1031, tocolor(0, 0, 0, 180), false) 
        setPlayerHudComponentVisible( component, false ) 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...