GM/PlayerButtonDown

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 13: Line 13:
 
|type=number
 
|type=number
 
|name=button
 
|name=button
|desc=Button code, see {{EnumLink|KEY}} and {{EnumLink|MOUSE}}
+
|desc=Button code, see {{Enum|KEY}} and {{Enum|MOUSE}}
 
}}
 
}}

Revision as of 17:42, 4 December 2013

 GM:PlayerButtonDown( )

Description

Called when a player presses a button.

Arguments

Player ply

Player who has pressed button

Arguments

number button

Button code, see KEY_ Enums and MOUSE_ Enums
Personal tools
Navigation