GET_ENTITY_ROTATION_VELOCITY
Signature
Vector3 GET_ENTITY_ROTATION_VELOCITY(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
Returns Vector3
Usage
local retval = GetEntityRotationVelocity(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9bf8a73f, entity, Citizen.ResultAsVector())JavaScript and C#
const retval = GetEntityRotationVelocity(entity);
// by hash
const retval = Citizen.invokeNative('0x9bf8a73f', entity, Citizen.returnResultAnyway(), Citizen.resultAsVector());Vector3 retval = Function.Call<Vector3>((Hash)0x9bf8a73f, entity);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.