natives.IS BUTTON PRESSED

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

natives.IS_BUTTON_PRESSED

Signature: void natives.IS_BUTTON_PRESSED(int padIndex, int button)

Usage: checks if a specific button on a controller is currently pressed

Parameters

int padIndex Controller index (0 = player 1).
int button Button identifier code.

Return

void

On failure: void