Garry's Mod Wiki

numpad.OnUp

number numpad.OnUp( Player ply, number key, string name, vararg ... )

Description

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

See for key pressed action: numpad.OnDown

Arguments

1 Player ply
The player whose numpad should be watched
2 number key
The key, corresponding to Enums/KEY
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

Page Links


Special Pages


Wikis

?

Render Time: 49ms

DB GetPage 3
Generate Html 16
SaveChanges (1) 21
Render Body 0
Render Sidebar 5