HU/injectBrowserMouseMove: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 31: Line 31:


==Fordította==
==Fordította==
* ''''Surge''''
* '''''Surge'''''

Revision as of 10:27, 11 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