The Lab
ENTITY native

GET_ENTITY_ROLL

returns float1 parambuild 1207

Returns the roll of the entity.

Signature

C
float GET_ENTITY_ROLL(Entity entity); // 0xBF966536FA8B6879 b1207

Parameters

#NameType
1entityEntity

Facts

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