ShowMouseCursor
From Liberty Unleashed Wiki
This function sets the mouse cursor to show/hide
Syntax
ShowMouseCursor( bool b )
Arguments
- b - A boolean value stating if the mouse cursor should be shown
Example
This code shows the mouse when the player uses the command '/mouse'
function onClientCommand(cmd, text) { if(cmd == "mouse") { ShowMouseCursor( true ); } }
Notes
The event onClientCommand was used in this example. More information is available on the corresponding page.