Garry's Mod Wiki

gui.InternalKeyCodePressed

  gui.InternalKeyCodePressed( number key )

Description

Simulates a key press for the given key.

Arguments

1 number key
The key, see KEY enum.