RedM Natives

GET_ENTITY_HEIGHT_ABOVE_GROUND

Hash0x0D3B5BAEA08F63E9
Runtime nameGetEntityHeightAboveGround
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x1DD55701034110E5

Signature

float GET_ENTITY_HEIGHT_ABOVE_GROUND(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns float

Usage

Lua
local retval = GetEntityHeightAboveGround(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0x0D3B5BAEA08F63E9, entity, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetEntityHeightAboveGround(entity);

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

Sources

alloc8or RDR3 NativeDB

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