GM/PlayerButtonDown

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
(Undo revision 12817 by Dane (talk))
Line 2: Line 2:
 
|Name=PlayerButtonDown
 
|Name=PlayerButtonDown
 
|Parent=GM
 
|Parent=GM
|Description=Called when a player presses a button. Button codes can be found at [[Enums/KEY]] and [[Enums/MOUSE]]
+
|Description=Called when a player presses a button.
 
|Realm=Shared
 
|Realm=Shared
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=Player
 
|type=Player
|name=player
+
|name=ply
|desc=Player who has pressed button
+
|desc=Player who has pressed button, see {{EnumLink|KEY}} and {{EnumLink|MOUSE}}
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=number
 
|type=number
|name=iButton
+
|name=button
 
|desc=Button code
 
|desc=Button code
 
}}
 
}}

Revision as of 09:41, 8 November 2013

 GM:PlayerButtonDown( )

Description

Called when a player presses a button.

Arguments

Player ply

Player who has pressed button, see Template:EnumLink and Template:EnumLink

Arguments

number button

Button code
Personal tools
Navigation