GET_CAM_COORD
Returns the world position of cam.
Signature
Vector3 GET_CAM_COORD(Cam cam); // 0x6B12F11C2A9F0344 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | cam | Cam |
Facts
| Name | GET_CAM_COORD |
|---|---|
| Hash | 0x6B12F11C2A9F0344 |
| Namespace | |
| Returns | Vector3 |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local coords = Citizen.InvokeNative(0x6B12F11C2A9F0344, -- GET_CAM_COORD
0, -- Cam cam
Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)const coords = Citizen.invokeNative("0x6B12F11C2A9F0344", // GET_CAM_COORD
0, // Cam cam
Citizen.resultAsVector()
);
const [x, y, z] = coordsVector3 coords = Function.Call<Vector3>((Hash)0x6B12F11C2A9F0344, // GET_CAM_COORD
0 // Cam cam
);Related CAMERA natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.