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)

natives.IS_BUTTON_PRESSED

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

Usage: Check if a button is pressed.

Parameters

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

Return

void

On failure: void