Jump to content
RAGE Multiplayer Community

Cursor not visible?


Recommended Posts

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!

Link to post
Share on other sites

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);
	}
});

 

Link to post
Share on other sites

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