IS_PLAYER_FREE_AIMING_AT_ENTITY
Gets a value indicating whether the specified player is currently aiming freely at the specified entity.
Hash
0x8C67C11C68713D25Runtime name
IsPlayerFreeAimingAtEntityNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x3C06B5C839B38F7BSignature
BOOL IS_PLAYER_FREE_AIMING_AT_ENTITY(Player player, Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
entity | Entity | — |
Returns BOOL
Description
Gets a value indicating whether the specified player is currently aiming freely at the specified entity.
Usage
local retval = IsPlayerFreeAimingAtEntity(player, entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0x8C67C11C68713D25, player, entity, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPlayerFreeAimingAtEntity(player, entity);
// by hash
const retval = Citizen.invokeNative('0x8C67C11C68713D25', player, entity, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x8C67C11C68713D25, player, entity);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.