RedM Natives

GET_ENTITY_ROTATION_VELOCITY

Hash0x9BF8A73F
Runtime nameGetEntityRotationVelocity
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

Vector3 GET_ENTITY_ROTATION_VELOCITY(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns Vector3

Usage

Lua
local retval = GetEntityRotationVelocity(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0x9bf8a73f, entity, Citizen.ResultAsVector())
JavaScript and C#
JavaScript
const retval = GetEntityRotationVelocity(entity);

// by hash
const retval = Citizen.invokeNative('0x9bf8a73f', entity, Citizen.returnResultAnyway(), Citizen.resultAsVector());
C#
Vector3 retval = Function.Call<Vector3>((Hash)0x9bf8a73f, entity);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.