Garry's Mod Wiki

Revision Difference

numpad.Deactivate#510458

<function name="Deactivate" parent="numpad" type="libraryfunc">⤶ <description>Deactivates numpad key owned by the player</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="ply" type="Player">The player whose numpad should be simulated</arg>⤶ <arg name="key" type="number">The key to press, corresponding to &lt;page&gt;KEY&lt;/page&gt;</arg>⤶ <arg name="isButton" type="boolean">Should this keypress pretend to be a from a gmod_button? (causes &lt;page&gt;numpad.FromButton&lt;/page&gt; to return true)</arg>⤶ </args>⤶ </function>⤶ ⤶