Jump to content

Hud Problem


xMKHx

Recommended Posts

Posted (edited)

Yo all, I added a new hud and radar, and when i kill my self, the old hud back, what's the problem, urgent pls :3

Edited by [NIG]MKH
Posted

Make sure that you don't have a script showing the hud again search for 

 

setPlayerHudComponentVisible or showPlayerHudComponent

 

And if you find it remove it or set it to false 

Posted
44 minutes ago, iPrestege said:

Make sure that you don't have a script showing the hud again search for 

 


setPlayerHudComponentVisible or showPlayerHudComponent

 

And if you find it remove it or set it to false 

I did it but nothing happened, i can give you the script and u fix it :D

Posted (edited)

Try to use a onClientRender to keep it 

function wawawa()
  setPlayerHudComponentVisible(..Your Arguments ...)
end
addEventHandler("onClientRender",getRootElement(),wawawa)

It is clientside

Edited by Overkillz
Posted
4 hours ago, Overkillz said:

Try to use a onClientRender to keep it 


function wawawa()
  setPlayerHudComponentVisible(..Your Arguments ...)
end
addEventHandler("onClientRender",getRootElement(),wawawa)

It is clientside

Very bad idea as i have said before search in your scripts not in the hud only.

Posted (edited)

@[NIG]MKH you can, but it's a sort of workaround, also you don't know if there are other "events" showing it again

 

 The best thing is to do as @iPrestege said

9 hours ago, iPrestege said:

search in your scripts

Edited by LoPollo

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