Garry's Mod Wiki

Revision Difference

gui.EnableScreenClicker#526605

<function name="EnableScreenClicker" parent="gui" type="libraryfunc"> <description> Enables the mouse cursor without restricting player movement, like using Sandbox's context menu. <bug issue="982">Some <page>CUserCmd</page> functions to return incorrect values will return incorrect values when this function is active.</bug> <bug issue="982">Some <page>CUserCmd</page> functions will return incorrect values when this function is active.</bug> </description> <realm>Client</realm> <args> <arg name="enabled" type="boolean">Whether the cursor should be enabled or not. (true = enable, false = disable)</arg> </args> </function>