Cursor.show

From RAGE Multiplayer Wiki
Revision as of 12:50, 26 October 2018 by Rootcause (talk | contribs) (Replaced HTML with template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Show or hide the cursor on your screen

Syntax

Client-Side
mp.gui.cursor.show(freezeControls, visibility);

Required arguments

  • freezeControls: boolean
  • visibility: boolean

Example

Client-Side
mp.gui.cursor.show(true, true); //Disables the players controls and shows the cursor

See also