RedM Natives

IS_PED_HEADTRACKING_ENTITY

Hash0x813A0A7C9D2E831F
Runtime nameIsPedHeadtrackingEntity
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x813A0A7C9D2E831F

Signature

BOOL IS_PED_HEADTRACKING_ENTITY(Ped ped, Entity entity);

Parameters

NameTypeDescription
pedPed—
entityEntity—

Returns BOOL

Usage

Lua
local retval = IsPedHeadtrackingEntity(ped, entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0x813A0A7C9D2E831F, ped, entity, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedHeadtrackingEntity(ped, entity);

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

Sources

alloc8or RDR3 NativeDB

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