RedM Natives

SET_CAM_AFFECTS_AIMING

Allows you to aim and shoot at the direction the camera is facing.

Hash0x3CB9E8BDE5E76F33
Runtime nameSetCamAffectsAiming
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x8C1DC7770C51DC8D

Signature

void SET_CAM_AFFECTS_AIMING(Cam cam, BOOL toggle);

Parameters

NameTypeDescription
camCam—
toggleBOOL—

Returns void

Description

Allows you to aim and shoot at the direction the camera is facing.

Usage

Lua
SetCamAffectsAiming(cam, toggle)

-- always works, by hash
Citizen.InvokeNative(0x3CB9E8BDE5E76F33, cam, toggle)
JavaScript and C#
JavaScript
SetCamAffectsAiming(cam, toggle);

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

Sources

alloc8or RDR3 NativeDB

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