Game code
CAMERA::SET_CAM_ROT
0xF52878E69C20597E ·RVA 0x03CD67E0
Signature
void SET_CAM_ROT(
Cam cam,
Vector3 rot,
int rotationOrder,
BOOL p3
);
The scripts pass 5 values to this native; the decoded signature lists 4 (arguments the game doesn't read are left out).
Parameters 4
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Cam | cam |
– |
| 1 | Vector3 | rot |
– |
| 2 | int | rotationOrder |
– |
| 3 | BOOL | p3 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p3 is not in RDR3's signature; the game reads it as a true/false value.
Call it
// CAMERA::SET_CAM_ROT
invoke<Void>(0xF52878E69C20597E, cam, rot, rotationOrder, p3);// CAMERA::SET_CAM_ROT
Function.Call((Hash)0xF52878E69C20597E, cam, rot, rotationOrder, p3);-- CAMERA::SET_CAM_ROT
Citizen.InvokeNative(0xF52878E69C20597E, cam, rot, rotationOrder, p3)// CAMERA::SET_CAM_ROT
Citizen.invokeNative("0xF52878E69C20597E", cam, rot, rotationOrder, p3);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.