GET_ENTITY_ROLL
Displays the current ROLL axis of the entity [-180.0000/180.0000+] (Sideways Roll) such as a vehicle tipped on its side
Hash
0xBF966536FA8B6879Runtime name
GetEntityRollNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x831E0242595560DFSignature
float GET_ENTITY_ROLL(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns float
Description
Displays the current ROLL axis of the entity [-180.0000/180.0000+]
(Sideways Roll) such as a vehicle tipped on its side
Usage
local retval = GetEntityRoll(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0xBF966536FA8B6879, entity, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetEntityRoll(entity);
// by hash
const retval = Citizen.invokeNative('0xBF966536FA8B6879', entity, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0xBF966536FA8B6879, entity);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.