Jump to content

Bug in my hud


R1S1NG

Recommended Posts

Hello everyone, I have a server which has a bug and nobody knows how to solve it, its hud is disabled every time I put a new one on it, thus removing the original, however, if I add a script as the screen joke blue, or a cinema like cinema experience ... things that cover the screen, or something like that, the normal hud comes back, and if I give / showhud anyway it comes back if I open the F11 map or do some other actions then does not advance that script to remove it in the login ... Players already reported this occur with the chat, it disappeared, does anyone have any solution? There are scripts that do not show anything for this bug! Any other script that uses the screen do not know how to explain, but with some scripts this occurs.
Sorry if I put this topic in the wrong session!

Thanks to anyone who can help me or try :D

Link to comment
  • 1 month later...
local components = { "radar","weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" } --add your components

function showHud()
	for _, component in ipairs( components ) do
		setPlayerHudComponentVisible( component, true ) -- select whatever you want ( show or hide )
	end
end
addCommandHandler( "show", showHud) --command for execute

 

Link to comment
  • 2 months later...

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...