SET_CAM_FOV
Sets the field of view of cam to fieldOfView degrees.
Signature
void SET_CAM_FOV(Cam cam, float fieldOfView); // 0x27666E5988D9D429 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | cam | Cam |
| 2 | fieldOfView | float |
Facts
| Name | SET_CAM_FOV |
|---|---|
| Hash | 0x27666E5988D9D429 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x27666E5988D9D429, -- SET_CAM_FOV
0, -- Cam cam
0.0 -- float fieldOfView
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x27666E5988D9D429", // SET_CAM_FOV
0, // Cam cam
0.0 // float fieldOfView
);Function.Call((Hash)0x27666E5988D9D429, // SET_CAM_FOV
0, // Cam cam
0.0f // float fieldOfView
);Related CAMERA natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.