The Lab
GRAPHICS native

SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST

returns void2 paramsbuild 1207

Sets the distance beyond which the looped particle effect ptfxHandle is not drawn.

Signature

C
void SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST(int ptfxHandle, float range); // 0x9B04D471DA0AD7AA b1207

Parameters

#NameType
1ptfxHandleint
2rangefloat

Facts

Facts about SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST
Name
SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST
Hash
0x9B04D471DA0AD7AA
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x9B04D471DA0AD7AA, -- SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST
  0, -- int ptfxHandle
  0.0 -- float range
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x9B04D471DA0AD7AA", // SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST
  0, // int ptfxHandle
  0.0 // float range
);
C#
Function.Call((Hash)0x9B04D471DA0AD7AA, // SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST
  0, // int ptfxHandle
  0.0f // float range
);
All GRAPHICS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.