getLocalPlayerGamepadAimState
GET_LOCAL_PLAYER_GAMEPAD_AIM_STATE0x59B9A7AF4C95133CThe GTA V native GET_LOCAL_PLAYER_GAMEPAD_AIM_STATE of the PAD namespace, as LS:MP client scripts call it: the global function getLocalPlayerGamepadAimState, in JavaScript and in Lua.
getLocalPlayerGamepadAimState(): numbergetLocalPlayerGamepadAimState(): integerUsage
JavaScript
const result = getLocalPlayerGamepadAimState();Lua
local result = getLocalPlayerGamepadAimState()Parameters
None.
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns the local player's targeting mode. See setPlayerTargetingMode.
Reference
- Namespace
- Controls PAD
- In the game
int GET_LOCAL_PLAYER_GAMEPAD_AIM_STATE()- Hash
0x59B9A7AF4C95133C- Formerly
_GET_LOCAL_PLAYER_AIM_STATE_2