RedM Natives

DESTROY_CAM

BOOL param indicates whether the cam should be destroyed if it belongs to the calling script.

Hash0x4E67E0B6D7FD5145
Runtime nameDestroyCam
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x865908C81A2C22E9

Signature

void DESTROY_CAM(Cam cam, BOOL p1);

Parameters

NameTypeDescription
camCam—
p1BOOL—

Returns void

Description

BOOL param indicates whether the cam should be destroyed if it belongs to the calling script.

Usage

Lua
DestroyCam(cam, p1)

-- always works, by hash
Citizen.InvokeNative(0x4E67E0B6D7FD5145, cam, p1)
JavaScript and C#
JavaScript
DestroyCam(cam, p1);

// by hash
Citizen.invokeNative('0x4E67E0B6D7FD5145', cam, p1);
C#
Function.Call((Hash)0x4E67E0B6D7FD5145, cam, p1);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.