GET_ENTITY_UPRIGHT_VALUE
Returns how upright the entity is, 1.0 when upright and -1.0 when upside down.
Signature
float GET_ENTITY_UPRIGHT_VALUE(Entity entity); // 0x56398BE65160C3BE b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| 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.
local result = Citizen.InvokeNative(0x56398BE65160C3BE, -- GET_ENTITY_UPRIGHT_VALUE
PlayerPedId(), -- Entity entity
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x56398BE65160C3BE", // GET_ENTITY_UPRIGHT_VALUE
PlayerPedId(), // Entity entity
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x56398BE65160C3BE, // GET_ENTITY_UPRIGHT_VALUE
API.PlayerPedId() // Entity entity
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.