OnClientMouseWheel

From Multi Theft Auto: Wiki
Revision as of 11:06, 24 March 2008 by Awwu (talk | contribs) (New page: {{Client event}} __NOTOC__ This event is triggered each time the user scrolls his mouse scroll on top of a GUI element. ==Parameters== <syntaxhighlight lang="lua"> int upOrDown </syntaxhighlight> * '''upOrDown'...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is triggered each time the user scrolls his mouse scroll on top of a GUI element.

Parameters

int upOrDown
  • upOrDown: An integer representing whether the scroll was scrolled up or down. This can be either 1 (mouse was scrolled up) or -1 (mouse was scrolled down).

Source

The source of this event is the GUI element on which the mouse scroll was scrolled.

Example

--TODO

See Also

GUI events

Input

GUI


Client event functions