Garry's Mod Wiki


  numpad.Deactivate( Player ply, number key, boolean isButton = false )


Deactivates numpad key owned by the player


1 Player ply
The player whose numpad should be simulated
2 number key
The key to press, corresponding to KEY enum
3 boolean isButton = false
Should this keypress pretend to be a from a gmod_button? (causes numpad.FromButton to return true)