The Lab
ENTITY native

GET_ENTITY_HEIGHT_ABOVE_GROUND

returns float1 parambuild 1207

Returns how high the entity is above the ground.

Signature

C
float GET_ENTITY_HEIGHT_ABOVE_GROUND(Entity entity); // 0x0D3B5BAEA08F63E9 b1207

Parameters

#NameType
1entityEntity

Facts

Facts about GET_ENTITY_HEIGHT_ABOVE_GROUND
Name
GET_ENTITY_HEIGHT_ABOVE_GROUND
Hash
0x0D3B5BAEA08F63E9
Namespace
Returns
float
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x0D3B5BAEA08F63E9, -- GET_ENTITY_HEIGHT_ABOVE_GROUND
  PlayerPedId(), -- Entity entity
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x0D3B5BAEA08F63E9", // GET_ENTITY_HEIGHT_ABOVE_GROUND
  PlayerPedId(), // Entity entity
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x0D3B5BAEA08F63E9, // GET_ENTITY_HEIGHT_ABOVE_GROUND
  API.PlayerPedId() // Entity entity
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.