getLocalPlayerAimState
GET_LOCAL_PLAYER_AIM_STATE0xBB41AFBBBC0A0287The GTA V native GET_LOCAL_PLAYER_AIM_STATE of the PAD namespace, as LS:MP client scripts call it: the global function getLocalPlayerAimState, in JavaScript and in Lua.
getLocalPlayerAimState(): numbergetLocalPlayerAimState(): integerUsage
JavaScript
const result = getLocalPlayerAimState();Lua
local result = getLocalPlayerAimState()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.
Hard-coded to return 3 if using KBM, otherwise same behavior as getLocalPlayerGamepadAimState.
Reference
- Namespace
- Controls PAD
- In the game
int GET_LOCAL_PLAYER_AIM_STATE()- Hash
0xBB41AFBBBC0A0287