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)
 
(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 value, int ped, int ped2, int ped3, int ped4
|parameters = int padIndex
|parameter1 = int value Numeric parameter.
|parameter1 = int padIndex Controller index (0 = player 1).
|parameter2 = int ped The character identifier to act on.
|usage = reads the current position of both analogue sticks on a controller
|parameter3 = int ped2 The character identifier to act on.
|parameter4 = int ped3 The character identifier to act on.
|parameter5 = int ped4 The character identifier to act on.
|usage = get the position of analogue sticks from the game state.
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}
1,615

edits

Navigation menu