Jump to content

Cant remove cursor


freaky.psd

Recommended Posts

mp.gui.cursor.show(true, true); //Disables the players controls and shows the cursor

mp.keys.bind(0x71, true, function () {   // F2
    mp.gui.cursor.visible = true;

 

How can i add if i press F2 (0x71) key again, cursos becomes invisible?

Link to comment
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...