Garry's Mod Wiki

Garry's Mod Wiki

  number numpad.OnDown( Player ply, number key, string name, ... )

Description

Calls a function registered with numpad.Register when a player presses specified key.

See for key released action: numpad.OnUp

Arguments

1 Player ply
The player whose numpad should be watched
2 number key
The key, corresponding to KEY enum
3 string name
The name of the function to run, corresponding with the one used in numpad.Register
4 vararg ...
Arguments to pass to the function passed to numpad.Register.

Returns

1 number
The impulse ID

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...