GraphicsClient

setParticleFxLoopedFarClipDist

SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST0xDCB194B85EF7B541

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

SignatureJavaScript
setParticleFxLoopedFarClipDist(ptfxHandle: number, range: number): void
SignatureLua
setParticleFxLoopedFarClipDist(ptfxHandle: integer, range: number)

Usage

JavaScript
setParticleFxLoopedFarClipDist(ptfxHandle, range);
Lua
setParticleFxLoopedFarClipDist(ptfxHandle, range)

Parameters

ParameterTypeJavaScriptLua
ptfxHandleintnumberinteger
rangefloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST(int ptfxHandle, float range)
Hash
0xDCB194B85EF7B541
Formerly
_SET_PARTICLE_FX_LOOPED_RANGE

Open in the interactive natives reference