natives.IS BUTTON PRESSED: Difference between revisions
Jump to navigation
Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile) |
(No difference)
|
Revision as of 18:48, 11 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.IS_BUTTON_PRESSED(int padIndex, int button)
The natives.IS_BUTTON_PRESSED function is used to Check if a button is pressed.
Parameters
| 1) | int | padIndex | Controller pad index (0 = player 1). |
| 2) | int | button | Button identifier. |
Return
| void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.