RedM Natives

REMOVE_PARTICLE_FX_IN_RANGE

Hash0x87B5905ECA623B68
Runtime nameRemoveParticleFxInRange
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xDD19FA1C6D657305

Signature

void REMOVE_PARTICLE_FX_IN_RANGE(float X, float Y, float Z, float radius);

Parameters

NameTypeDescription
Xfloat—
Yfloat—
Zfloat—
radiusfloat—

Returns void

Usage

Lua
RemoveParticleFxInRange(X, Y, Z, radius)

-- always works, by hash
Citizen.InvokeNative(0x87B5905ECA623B68, X, Y, Z, radius)
JavaScript and C#
JavaScript
RemoveParticleFxInRange(X, Y, Z, radius);

// by hash
Citizen.invokeNative('0x87B5905ECA623B68', X + 0.0000001, Y + 0.0000001, Z + 0.0000001, radius + 0.0000001);
C#
Function.Call((Hash)0x87B5905ECA623B68, X, Y, Z, radius);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.