xMKHx Posted November 17, 2016 Share 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 Link to comment
iPrestege Posted November 17, 2016 Share 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 Link to comment
xMKHx Posted November 17, 2016 Author Share 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 Link to comment
Overkillz Posted November 17, 2016 Share 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 Link to comment
iPrestege Posted November 18, 2016 Share 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. Link to comment
xMKHx Posted November 18, 2016 Author Share Posted November 18, 2016 I have the respewn script, when player die he'll warp to hospital, i can add the function there ? Link to comment
LoPollo Posted November 18, 2016 Share 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 Link to comment
xMKHx Posted November 20, 2016 Author Share Posted November 20, 2016 I found it, ty all Link to comment
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