Jump to content

Como ocultar HUD


vallejo

Recommended Posts

Creo que así funcionaria bien.

enable = false 
  
function removeHUD() 
    if not enable then 
        addEventHandler("onClientRender", root, TU_HUD) 
        enable = true 
    else 
        removeEventHandler("onClientRender", root, TU_HUD) 
        enable = false 
    end 
end 
bindKey("F11","down",removeHUD) 

O más simple xD:

function removeRender() 
    if removeEventHandler("onClientRender", root, tu_hud)  then 
    else 
    addEventHandler("onClientRender", root, tu_hud) 
    end 
end 
bindKey("F11", "down", removeRender) 

Link to comment
  • Recently Browsing   0 members

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