gui.showCursor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = gui.showCursor | ||
|side = client | |||
|type = function | |type = function | ||
| | |games = iii vc sa iv | ||
| | |desc = set the cursor enabled status | ||
| | |arg1 = bool cursorShown Whether the cursor is to be shown. | ||
|arg2 = bool toggleControls Whether controls are to be enabled. | |||
| | |return = void | ||
| | |freturn = void | ||
| | |||
}} | }} |
Latest revision as of 20:36, 19 November 2022
Function
Client Only
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
gta.getMouseSpeed