Jump to content

cursor and click mouse events


Recommended Posts

1) mp.gui.cursor.position not work? how use this function?
There is no usage example on the wiki.
2) I include jQuery and try catch 2 events: click and double click.
A single click works, but a double click does not. Outside the game - the example works.
I use this: https://api.jquery.com/dblclick/
3) Disappointed in a double click - I tried to catch a double click through a normal click. But here is the problem. Of the two quick clicks, only one click is processed! What is the trouble? How to implement a double click?

Edited by HeapSpace
Link to comment
Share on other sites

  • 1 month later...

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