but thanks anyway with the idea you gave me I was able to do this, and it worked
Hud = guiCreateLabel(0, 0, 0, 0, "", false)
function HideShow()
if ( guiGetVisible (Hud) == false) then
guiSetVisible (Hud, true) -- Este Es el Laber FAKE PARA PODER OCULTAR EL HUD Y ABRIR EL HUD
showChat(true)
showPlayerHudComponent("all",true)
setPlayerHudComponentVisible ( "radar", true )
setPlayerHudComponentVisible ( "all", true )
setPlayerHudComponentVisible ( "clock", true )
showPlayerHudComponent ( source, "ammo", true )
showPlayerHudComponent ( source, "weapon", true )
showPlayerHudComponent ( source, "radar", true )
else
guiSetVisible(Hud, false) -- Este Es el Laber FAKE PARA PODER ABRIR EL HUD Y OCULTAR EL HUD
showCursor(false)
showChat(false)
showPlayerHudComponent("all",false)
outputChatBox("Hud Disable", source, 255, 0, 0, true)
showPlayerHudComponent ( source, "weapon", false )
showPlayerHudComponent ( source, "radar", false )
showPlayerHudComponent ( source, "ammo", false )
setPlayerHudComponentVisible ( "radar", false )
setPlayerHudComponentVisible ( "clock", false )
setPlayerHudComponentVisible ( "all", false )
showPlayerHudComponent("all",false)
end
end
bindKey("f5", "down", HideShow)