Garry's Mod Wiki

gui.EnableScreenClicker

gui.EnableScreenClicker

  gui.EnableScreenClicker( boolean enabled )

Description

Enables the mouse cursor without restricting player movement, like using Sandbox's context menu.

Some CUserCmd functions will return incorrect values when this function is active.

Issue Tracker: 982

Arguments

1 boolean enabled
Whether the cursor should be enabled or not. (true = enable, false = disable)

Special Pages


Wikis

?

Render Time: 30ms

DB GetPage 5
Generate Html 3
SaveChanges (1) 12
Render Body 0
Render Sidebar 7