GET_GAMEPLAY_CAM_ROT
Hash
0x0252D2B5582957A6Runtime name
GetGameplayCamRotNamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x837765A25378F0BBSignature
Vector3 GET_GAMEPLAY_CAM_ROT(int rotationOrder);Parameters
| Name | Type | Description |
|---|---|---|
rotationOrder | int | — |
Returns Vector3
Usage
local retval = GetGameplayCamRot(rotationOrder)
-- always works, by hash
local retval = Citizen.InvokeNative(0x0252D2B5582957A6, rotationOrder, Citizen.ResultAsVector())JavaScript and C#
const retval = GetGameplayCamRot(rotationOrder);
// by hash
const retval = Citizen.invokeNative('0x0252D2B5582957A6', rotationOrder, Citizen.returnResultAnyway(), Citizen.resultAsVector());Vector3 retval = Function.Call<Vector3>((Hash)0x0252D2B5582957A6, rotationOrder);Enums and flags
- eEulerRotationOrder 6 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.