RedM Natives

IS_PLAYER_FREE_AIMING

Gets a value indicating whether the specified player is currently aiming freely.

Hash0x936F967D4BE1CE9D
Runtime nameIsPlayerFreeAiming
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x2E397FD2ECD37C87

Signature

BOOL IS_PLAYER_FREE_AIMING(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns BOOL

Description

Gets a value indicating whether the specified player is currently aiming freely.

Usage

Lua
local retval = IsPlayerFreeAiming(player)

-- always works, by hash
local retval = Citizen.InvokeNative(0x936F967D4BE1CE9D, player, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPlayerFreeAiming(player);

// by hash
const retval = Citizen.invokeNative('0x936F967D4BE1CE9D', player, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x936F967D4BE1CE9D, player);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.