1,561
edits
(Add ScriptItem documentation from GTA VC SCM decompile) |
(Add ScriptItem documentation from GTA VC SCM decompile) |
||
| Line 5: | Line 5: | ||
|name = natives.IS_BUTTON_PRESSED | |name = natives.IS_BUTTON_PRESSED | ||
|parameters = int padIndex, int button | |parameters = int padIndex, int button | ||
|parameter1 = int padIndex Controller | |parameter1 = int padIndex Controller index (0 = player 1). | ||
|parameter2 = int button Button identifier. | |parameter2 = int button Button identifier code. | ||
|usage = | |usage = checks if a specific button on a controller is currently pressed | ||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
edits