natives.IS_BUTTON_PRESSED

Revision as of 18:48, 11 June 2026 by Roxas (talk | contribs) (Add ScriptItem documentation from GTA VC SCM decompile)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Client Only icon-vc.png 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.