CameraClient

setCamDeathFailEffectState

SET_CAM_DEATH_FAIL_EFFECT_STATE0x80C8B1846639BB19

The GTA V native SET_CAM_DEATH_FAIL_EFFECT_STATE of the CAM namespace, as LS:MP client scripts call it: the global function setCamDeathFailEffectState, in JavaScript and in Lua.

SignatureJavaScript
setCamDeathFailEffectState(p0: number): void
SignatureLua
setCamDeathFailEffectState(p0: integer)

Usage

JavaScript
setCamDeathFailEffectState(p0);
Lua
setCamDeathFailEffectState(p0)

Parameters

ParameterTypeJavaScriptLua
p0intnumberinteger

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.

if p0 is 0, effect is cancelled

if p0 is 1, effect zooms in, gradually tilts cam clockwise apx 30 degrees, wobbles slowly. Motion blur is active until cancelled.

if p0 is 2, effect immediately tilts cam clockwise apx 30 degrees, begins to wobble slowly, then gradually tilts cam back to normal. The wobbling will continue until the effect is cancelled.

Reference

Namespace
Camera CAM
In the game
void SET_CAM_DEATH_FAIL_EFFECT_STATE(int p0)
Hash
0x80C8B1846639BB19
Formerly
_SET_CAM_EFFECT

Open in the interactive natives reference