shaiNN Posted July 13, 2020 Posted July 13, 2020 Hello, i wrote a lttle Login and Register Script for my Rage:MP Roleplay Server. Here is a pastebin link: https://pastebin.com/usZAstxT My problem is, when i connected to my server, the cursor is not visible (and then i can't register my account). I can't find a error on my script, can help me anyware? Thanks!
ynhhoJ Posted July 13, 2020 Posted July 13, 2020 Try to put ur initial code in setTiemout 0. Like this: setTimeout(async () => { mp.gui.cursor.visible = true; }, 0); 2
LT.Steiner Posted July 17, 2020 Posted July 17, 2020 Use this for Client-Side => var ShowCursor = false; mp.keys.bind(0x71, false, function() { // F2 Key ShowCursor = !ShowCursor; if (ShowCursor){ mp.gui.cursor.show(true, true); } else { mp.gui.cursor.show(false, false); } });
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