how to hide the hud while login panel is opened? i tried to use the code of setPlayerHudComponentVisible and didnt work
function dxDrawLoginPanel( )
if ( isOpen ) then
dxDrawRectangle(pX-400, pY-400, 3000, 1031, tocolor(0, 0, 0, 180), false)
setPlayerHudComponentVisible( component, false )