gui.showCursor: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = client
|name = gui.showCursor
|side = client
|type = function
|type = function
|name = gui.showCursor
|games = iii vc sa iv
|usage = set the cursor enabled status
|desc = set the cursor enabled status
|parameters = bool cursorShown, bool toggleControls
|arg1 = bool cursorShown Whether the cursor is to be shown.
|parameter1 = bool cursorShown Whether the cursor is to be shown.
|arg2 = bool toggleControls Whether controls are to be enabled.
|parameter2 = bool toggleControls Whether controls are to be enabled.
|return = void
|return1 = void
|freturn = void
|returnFail1 = void
}}
}}

Latest revision as of 20:36, 19 November 2022

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

void gui.showCursor(bool cursorShown, bool toggleControls)

The gui.showCursor function is used to set the cursor enabled status.

Parameters

1) bool cursorShown Whether the cursor is to be shown.
2) bool toggleControls Whether controls are to be enabled.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png gta.getMouseSpeed