SET_MOUSE_CURSOR_STYLE
Changes the mouse cursor's sprite.
Hash
0x7F5858AAB5A58CCERuntime name
SetMouseCursorStyleNamespaceINTERACTION
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x8DB8CFFD58B62552Signature
void SET_MOUSE_CURSOR_STYLE(int spriteId);Parameters
| Name | Type | Description |
|---|---|---|
spriteId | int | — |
Returns void
Description
Changes the mouse cursor's sprite.
spriteId's: https://github.com/femga/rdr3_discoveries/tree/master/graphics/HUD/cursor_sprites#readme
Old name: _SET_MOUSE_CURSOR_SPRITE
Usage
SetMouseCursorStyle(spriteId)
-- always works, by hash
Citizen.InvokeNative(0x7F5858AAB5A58CCE, spriteId)JavaScript and C#
SetMouseCursorStyle(spriteId);
// by hash
Citizen.invokeNative('0x7F5858AAB5A58CCE', spriteId);Function.Call((Hash)0x7F5858AAB5A58CCE, spriteId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.