The Lab
CAMERA native

_CAM_CREATE_2

returns void1 parambuild 1207

Based on its name and signature, here is our best reading:

An alternative way to create a camera from the camera data dictionary cameraDictionary; how it differs from _CAM_CREATE is unclear.

Signature

C
void _CAM_CREATE_2(const char* cameraDictionary); // 0x7B0279170961A73F b1207

Parameters

#NameType
1cameraDictionaryconst char*

Facts

Facts about _CAM_CREATE_2
Name
_CAM_CREATE_2
Hash
0x7B0279170961A73F
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x7B0279170961A73F, -- _CAM_CREATE_2
  "text" -- const char* cameraDictionary
)
JavaScript
Citizen.invokeNative("0x7B0279170961A73F", // _CAM_CREATE_2
  "text" // const char* cameraDictionary
);
C#
Function.Call((Hash)0x7B0279170961A73F, // _CAM_CREATE_2
  "text" // const char* cameraDictionary
);
All CAMERA natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.