numpad/Deactivate

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 14: Line 14:
 
|type=number
 
|type=number
 
|name=key
 
|name=key
|desc=The key to press, corresponding to an {{EnumLink|KEY}}
+
|desc=The key to press, corresponding to {{Enum|KEY}}
 
}}
 
}}
 
{{Arg
 
{{Arg

Latest revision as of 07:44, 5 December 2013

 numpad.Deactivate( )

Contents

Description

Deactivates numpad key owned by the player

Arguments

Player ply

The player whose numpad should be simulated

Arguments

number key

The key to press, corresponding to KEY_ Enums

Arguments

boolean isButton

Should this keypress pretend to be a from a gmod_button? (causes numpad.FromButton to return true)
Personal tools
Navigation