GM/PlayerButtonDown

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Undo revision 15964 by RedXVIII (talk))
m
Line 4: Line 4:
 
|Description=Called when a player presses a button.
 
|Description=Called when a player presses a button.
 
|Realm=Shared
 
|Realm=Shared
 +
|Predicted=No
 
}}
 
}}
 
{{Arg
 
{{Arg
Line 13: Line 14:
 
|type=number
 
|type=number
 
|name=button
 
|name=button
|desc=Button code, see {{Enum|KEY}} and {{Enum|MOUSE}}
+
|desc=Button code, see {{Enum|BUTTON}}
 
}}
 
}}

Revision as of 13:49, 12 November 2014

 GM:PlayerButtonDown( )

Description

Called when a player presses a button.

Arguments

Player ply

Player who has pressed button

Arguments

number button

Button code, see BUTTON_ Enums
Personal tools
Navigation