SET_PARTICLE_FX_NON_LOOPED_COLOUR
Hash
0x60B85BED6577A35BRuntime name
SetParticleFxNonLoopedColourNamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x26143A59EF48B262Signature
void SET_PARTICLE_FX_NON_LOOPED_COLOUR(float r, float g, float b);Parameters
| Name | Type | Description |
|---|---|---|
r | float | — |
g | float | — |
b | float | — |
Returns void
Usage
SetParticleFxNonLoopedColour(r, g, b)
-- always works, by hash
Citizen.InvokeNative(0x60B85BED6577A35B, r, g, b)JavaScript and C#
SetParticleFxNonLoopedColour(r, g, b);
// by hash
Citizen.invokeNative('0x60B85BED6577A35B', r + 0.0000001, g + 0.0000001, b + 0.0000001);Function.Call((Hash)0x60B85BED6577A35B, r, g, b);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.