GraphicsClient

setParticleFxLoopedAlpha

SET_PARTICLE_FX_LOOPED_ALPHA0x726845132380142E

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

SignatureJavaScript
setParticleFxLoopedAlpha(ptfxHandle: number, alpha: number): void
SignatureLua
setParticleFxLoopedAlpha(ptfxHandle: integer, alpha: number)

Usage

JavaScript
setParticleFxLoopedAlpha(ptfxHandle, alpha);
Lua
setParticleFxLoopedAlpha(ptfxHandle, alpha)

Parameters

ParameterTypeJavaScriptLua
ptfxHandleintnumberinteger
alphafloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_PARTICLE_FX_LOOPED_ALPHA(int ptfxHandle, float alpha)
Hash
0x726845132380142E

Open in the interactive natives reference