Preview
Shared function

showCursor

This function is used to show or hide a player's cursor.

Syntax

bool showCursor ( player thePlayer, bool show, bool toggleControls )
void  ( )
void  ( )

Returns

Returns true if the player's cursor was shown or hidden successfully, false otherwise.

Examples