isPlayerFreeAiming
IS_PLAYER_FREE_AIMING0x2E397FD2ECD37C87The GTA V native IS_PLAYER_FREE_AIMING of the PLAYER namespace, as LS:MP client scripts call it: the global function isPlayerFreeAiming, in JavaScript and in Lua.
isPlayerFreeAiming(player: Player): booleanisPlayerFreeAiming(player: Player): booleanUsage
JavaScript
const result = isPlayerFreeAiming(player);Lua
local result = isPlayerFreeAiming(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Gets a value indicating whether the specified player is currently aiming freely.
Reference
- Namespace
- Player PLAYER
- In the game
BOOL IS_PLAYER_FREE_AIMING(Player player)- Hash
0x2E397FD2ECD37C87