gui.EnableScreenClicker

From GMod Wiki

Jump to: navigation, search
Function
Syntax gui.EnableScreenClicker( Boolean enabled )
Where is this used?
Description:
Enables the mouse cursor and doesn't restrict player movement
Returns: nil
Part of Library: gui
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Gui.EnableScreenClicker]Gui.EnableScreenClicker [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionEnables the mouse, as seen when using the Context Menu in Sandbox mode.
Used onNewerClient.png
Code
 
if (CLIENT) then
    //Only run this if we're on the client,otherwise the function isn't there.
    gui.EnableScreenClicker(true)
end
OutputN/A


Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox