Ui::setCursorSprite: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
mNo edit summary
 
Line 1: Line 1:
Changes the mouse cursor's sprite. <br>1 = Normal<br>6 = Left Arrow<br>7 = Right Arrow
Changes the mouse cursor's sprite.
<br><br>
None = 0,
<br>
Normal = 1,
<br>
TransparentNormal = 2,
<br>
PreGrab = 3,
<br>
Grab = 4,
<br>
MiddleFinger = 5,
<br>
LeftArrow = 6,
<br>
RightArrow = 7,
<br>
UpArrow = 8,
<br>
DownArrow = 9,
<br>
HorizontalExpand = 10,
<br>
Add = 11,
<br>
Remove = 12,
<br><br>
 
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.ui.setCursorSprite(spriteId);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setCursorSprite(spriteId);</syntaxhighlight>

Latest revision as of 21:15, 5 March 2019

Changes the mouse cursor's sprite.

None = 0,
Normal = 1,
TransparentNormal = 2,
PreGrab = 3,
Grab = 4,
MiddleFinger = 5,
LeftArrow = 6,
RightArrow = 7,
UpArrow = 8,
DownArrow = 9,
HorizontalExpand = 10,
Add = 11,
Remove = 12,

Syntax

mp.game.ui.setCursorSprite(spriteId);

Required Arguments

  • spriteId: int

Return value

  • Undefined

Example

// todo

See also