xMKHx Posted November 17, 2016 Posted November 17, 2016 (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 November 17, 2016 by [NIG]MKH
iPrestege Posted November 17, 2016 Posted November 17, 2016 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
xMKHx Posted November 17, 2016 Author Posted November 17, 2016 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
Overkillz Posted November 17, 2016 Posted November 17, 2016 (edited) Try to use a onClientRender to keep it function wawawa() setPlayerHudComponentVisible(..Your Arguments ...) end addEventHandler("onClientRender",getRootElement(),wawawa) It is clientside Edited November 17, 2016 by Overkillz
iPrestege Posted November 18, 2016 Posted November 18, 2016 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.
xMKHx Posted November 18, 2016 Author Posted November 18, 2016 I have the respewn script, when player die he'll warp to hospital, i can add the function there ?
LoPollo Posted November 18, 2016 Posted November 18, 2016 (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 November 18, 2016 by LoPollo
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now