natives.GET POSITION OF ANALOGUE STICKS: Difference between revisions
Jump to navigation
Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile) |
(Add ScriptItem documentation from GTA VC SCM decompile) |
||
| Line 4: | Line 4: | ||
|type = function | |type = function | ||
|name = natives.GET_POSITION_OF_ANALOGUE_STICKS | |name = natives.GET_POSITION_OF_ANALOGUE_STICKS | ||
|parameters = int | |parameters = int padIndex | ||
|parameter1 = int | |parameter1 = int padIndex Controller index (0 = player 1). | ||
|usage = reads the current position of both analogue sticks on a controller | |||
|usage = | |||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Latest revision as of 09:18, 12 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.GET_POSITION_OF_ANALOGUE_STICKS(int padIndex)
The natives.GET_POSITION_OF_ANALOGUE_STICKS function is used to reads the current position of both analogue sticks on a controller.
Parameters
| 1) | int | padIndex | Controller index (0 = player 1). |
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.