Garry's Mod Wiki


GM:PlayerButtonUp( Player ply, number button )
This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.


Called when a player releases a button.

This will not be called if player has a panel opened with keyboard input enabled, use PANEL:OnKeyCodeReleased instead.


1 Player ply
Player who released the button
2 number button
The button, see Enums/BUTTON_CODE

Page Links

Special Pages



Render Time: 33ms

DB GetPage 4
Generate Html 5
SaveChanges (1) 15
Render Body 0
Render Sidebar 6