natives.IS BUTTON PRESSED: Difference between revisions

Jump to navigation Jump to search
Add ScriptItem documentation from GTA VC SCM decompile
(Add ScriptItem documentation from GTA VC SCM decompile)
(Add ScriptItem documentation from GTA VC SCM decompile)
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = client
|side = client
|games = vc
|games = vc
|type = function
|type = function
|name = natives.IS_BUTTON_PRESSED
|name = natives.IS_BUTTON_PRESSED
|parameters = int padIndex, int button
|arg1 = int entity Entity handle.
|parameter1 = int padIndex Controller index (0 = player 1).
|arg2 = int flag Flag value (0 or 1).
|parameter2 = int button Button identifier code.
|desc = checks if a specific button on a controller is currently pressed
|usage = checks if a specific button on a controller is currently pressed
|return1 = void
|return1 = void
|returnFail1 = void
}}
}}
1,615

edits

Navigation menu