GraphicsClient

setParticleFxNonLoopedAlpha

SET_PARTICLE_FX_NON_LOOPED_ALPHA0x77168D722C58B2FC

The GTA V native SET_PARTICLE_FX_NON_LOOPED_ALPHA of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setParticleFxNonLoopedAlpha, in JavaScript and in Lua.

SignatureJavaScript
setParticleFxNonLoopedAlpha(alpha: number): void
SignatureLua
setParticleFxNonLoopedAlpha(alpha: number)

Usage

JavaScript
setParticleFxNonLoopedAlpha(alpha);
Lua
setParticleFxNonLoopedAlpha(alpha)

Parameters

ParameterTypeJavaScriptLua
alphafloatnumbernumber

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.

Usage example for C#:

Function.Call(Hash.SET_PARTICLE_FX_NON_LOOPED_ALPHA, new InputArgument[] { 0.1f });

Note: the argument alpha ranges from 0.0f-1.0f !

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_PARTICLE_FX_NON_LOOPED_ALPHA(float alpha)
Hash
0x77168D722C58B2FC

Open in the interactive natives reference