GraphicsClient

removeParticleFxInRange

REMOVE_PARTICLE_FX_IN_RANGE0xDD19FA1C6D657305

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

SignatureJavaScript
removeParticleFxInRange(X: number, Y: number, Z: number, radius: number): void
SignatureLua
removeParticleFxInRange(X: number, Y: number, Z: number, radius: number)

Usage

JavaScript
removeParticleFxInRange(X, Y, Z, radius);
Lua
removeParticleFxInRange(X, Y, Z, radius)

Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.

JavaScript · with vectors
removeParticleFxInRange(pos, radius);
Lua · with vectors
removeParticleFxInRange(pos, radius)

Parameters

ParameterTypeJavaScriptLua
Xfloatnumbernumber
Yfloatnumbernumber
Zfloatnumbernumber
radiusfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void REMOVE_PARTICLE_FX_IN_RANGE(float X, float Y, float Z, float radius)
Hash
0xDD19FA1C6D657305

Open in the interactive natives reference