Jump to content

Search the Community

Showing results for tags 'getcursorposition'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Member Title





Found 3 results

  1. Is it possible to use getCursorPosition without making the cursor visible?
  2. Hello, I am trying to make a scroll bar that can be dragged using the dx functions. Long story short, want to compare the absoluteY returned by onClientClick with the absoluteY of the current frame (by using onClientRender). The only way to get the current cursor location this way is by using getCursorPosition, which does not return an absolute position. I couldn't find any other function to do this and dividing the screen height by the float returned by getCursorPosition is not accurate. Is there any way to do this? Am I missing something? plz halp lol
  3. local cursorX, cursorY = getCursorPosition() showCursor ( true ) setCursorAlpha(0) dxDrawImage ( cursorX, cursorY, 41, 41, 'images/cursor.png' ) Simple, what's the problem? Thanks in advance for your attention, Thank you!
  • Create New...