RDR3 match
CAMERA::CREATE_CAMERA_WITH_PARAMS
0xD81D29F467466460 ·RVA 0x03CCFEE0
Signature
Cam CREATE_CAMERA_WITH_PARAMS(
Hash camHash,
Vector3 pos,
Vector3 rot,
float fov,
BOOL p8,
int p9
);
The scripts pass 8 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).
Parameters 6
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Hash | camHash |
– |
| 1 | Vector3 | pos |
– |
| 2 | Vector3 | rot |
– |
| 3 | float | fov |
– |
| 4 | BOOL | p8 |
– |
| 5 | int | p9 |
RDR3 doesn't give a type; small whole numbers. |
Returns
Cam
Call it
// CAMERA::CREATE_CAMERA_WITH_PARAMS
auto result = invoke<Cam>(0xD81D29F467466460, camHash, pos, rot, fov, p8, p9);// CAMERA::CREATE_CAMERA_WITH_PARAMS
int result = Function.Call<int>((Hash)0xD81D29F467466460, camHash, pos, rot, fov, p8, p9);-- CAMERA::CREATE_CAMERA_WITH_PARAMS
local result = Citizen.InvokeNative(0xD81D29F467466460, camHash, pos, rot, fov, p8, p9)// CAMERA::CREATE_CAMERA_WITH_PARAMS
const result = Citizen.invokeNative("0xD81D29F467466460", camHash, pos, rot, fov, p8, p9);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.