numpad.Deactivate

From Garry's Mod
Jump to: navigation, search
 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