rusztamas Posted July 11, 2017 Share Posted July 11, 2017 Hi! I am making a dx hud, and the elements are getting drawn on each other, i have not clue why, i'd like to find that one out in the future. I guess i need to use removeEventHandler, but i don't really know where to place it in my code. My code works like this: Player logs in, the script calls the function, which renders the scoreboard. exports.hud:render(). So as i wrote, i just saw while driving that they are getting drawn on each other, yet i have no clue why, (when i join the server, it gets drawn again) And when i place the removeeventhandler, somewhere, it sometimes work, but how do i add the event again? In not the same function? If it is not right after the function's end? I don't really understand this, i have never done stuffs like huds with renders and alike yet. Link to comment
Discord Moderators Pirulax Posted July 12, 2017 Discord Moderators Share Posted July 12, 2017 Hello!Write me a PM if you feel like, so i can answer the question in hungarian! And, please give us a code... 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