GM/PlayerButtonDown

From Garry's Mod
Revision as of 20:47, 14 August 2015 by Jvs (Talk | contribs)
Jump to: navigation, search
 GM:PlayerButtonDown( )

Description

Called when a player presses a button.

NOTE

This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.

Arguments

Player ply

Player who has pressed button

Arguments

number button

Button code, see BUTTON_ Enums
Personal tools
Navigation