HU/injectBrowserMouseMove: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function hu}} {{New feature/item|3.0150|1.5|| This function injects a mouse movement. }} ==Szintaxis== <syntaxhighlight lang="lua"> bool injectBrowserMouse...")
 
No edit summary
Line 29: Line 29:


[[en:injectBrowserMouseMove]]
[[en:injectBrowserMouseMove]]
==Fordította==
* Surge

Revision as of 17:42, 10 August 2018

This function injects a mouse movement.

Szintaxis

bool injectBrowserMouseMove ( browser webBrowser, int posX, int posY )

OOP Syntax Help! I don't understand this!

Method: browser:injectMouseMove(...)


Kötelező argumentumok

  • webBrowser: The browser which will retrieve the mouse movement
  • posX: Absolute X screen coordinate
  • posY: Absolute Y screen coordinate

Visszaadott érték

Returns true if the movement was injected successfully, false otherwise.

Példa

function onCursorMove ( relativeX , relativeY , absoluteX , absoluteY ) 
	injectBrowserMouseMove ( browser , absoluteX , absoluteY ) 
end 
addEventHandler ( "onClientCursorMove" , root , onCursorMove )

Lásd még

GUI Függvények

Fordította

  • Surge