setCamAffectsAiming
SET_CAM_AFFECTS_AIMING0x8C1DC7770C51DC8DThe GTA V native SET_CAM_AFFECTS_AIMING of the CAM namespace, as LS:MP client scripts call it: the global function setCamAffectsAiming, in JavaScript and in Lua.
setCamAffectsAiming(cam: Cam, toggle: boolean): voidsetCamAffectsAiming(cam: Cam, toggle: boolean)Usage
JavaScript
setCamAffectsAiming(cam, toggle);Lua
setCamAffectsAiming(cam, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Allows you to aim and shoot at the direction the camera is facing.
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_AFFECTS_AIMING(Cam cam, BOOL toggle)- Hash
0x8C1DC7770C51DC8D