RedM Natives

SET_PARTICLE_FX_LOOPED_EVOLUTION

Hash0x3674F389B0FACD80
Runtime nameSetParticleFxLoopedEvolution
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5F0C4B5B1C393BE2

Signature

void SET_PARTICLE_FX_LOOPED_EVOLUTION(int ptfxHandle, const char* propertyName, float amount, BOOL noNetwork);

Parameters

NameTypeDescription
ptfxHandleint—
propertyNameconst char*—
amountfloat—
noNetworkBOOL—

Returns void

Usage

Lua
SetParticleFxLoopedEvolution(ptfxHandle, propertyName, amount, noNetwork)

-- always works, by hash
Citizen.InvokeNative(0x3674F389B0FACD80, ptfxHandle, propertyName, amount, noNetwork)
JavaScript and C#
JavaScript
SetParticleFxLoopedEvolution(ptfxHandle, propertyName, amount, noNetwork);

// by hash
Citizen.invokeNative('0x3674F389B0FACD80', ptfxHandle, propertyName, amount + 0.0000001, noNetwork);
C#
Function.Call((Hash)0x3674F389B0FACD80, ptfxHandle, propertyName, amount, noNetwork);
  • 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.