The Lab
ENTITY native

GET_ENTITY_UPRIGHT_VALUE

returns float1 parambuild 1207

Returns how upright the entity is, 1.0 when upright and -1.0 when upside down.

Signature

C
float GET_ENTITY_UPRIGHT_VALUE(Entity entity); // 0x56398BE65160C3BE b1207

Parameters

#NameType
1entityEntity

Facts

Facts about GET_ENTITY_UPRIGHT_VALUE
Name
GET_ENTITY_UPRIGHT_VALUE
Hash
0x56398BE65160C3BE
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(0x56398BE65160C3BE, -- GET_ENTITY_UPRIGHT_VALUE
  PlayerPedId(), -- Entity entity
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x56398BE65160C3BE", // GET_ENTITY_UPRIGHT_VALUE
  PlayerPedId(), // Entity entity
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x56398BE65160C3BE, // GET_ENTITY_UPRIGHT_VALUE
  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.