START_PARTICLE_FX_LOOPED_AT_COORD
Hash
0xBA32867E86125D3ARuntime name
StartParticleFxLoopedAtCoordNamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xE184F4F0DC5910E7Signature
int START_PARTICLE_FX_LOOPED_AT_COORD(const char* effectName, float x, float y, float z, float xRot, float yRot, float zRot, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis, BOOL p11);Parameters
| Name | Type | Description |
|---|---|---|
effectName | const char* | — |
x | float | — |
y | float | — |
z | float | — |
xRot | float | — |
yRot | float | — |
zRot | float | — |
scale | float | — |
xAxis | BOOL | — |
yAxis | BOOL | — |
zAxis | BOOL | — |
p11 | BOOL | — |
Returns int
Description
https://github.com/femga/rdr3_discoveries/blob/master/graphics/ptfx/ptfx_assets_looped.lua
Usage
local retval = StartParticleFxLoopedAtCoord(effectName, x, y, z, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis, p11)
-- always works, by hash
local retval = Citizen.InvokeNative(0xBA32867E86125D3A, effectName, x, y, z, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis, p11, Citizen.ResultAsInteger())JavaScript and C#
const retval = StartParticleFxLoopedAtCoord(effectName, x, y, z, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis, p11);
// by hash
const retval = Citizen.invokeNative('0xBA32867E86125D3A', effectName, x + 0.0000001, y + 0.0000001, z + 0.0000001, xRot + 0.0000001, yRot + 0.0000001, zRot + 0.0000001, scale + 0.0000001, xAxis, yAxis, zAxis, p11, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xBA32867E86125D3A, effectName, x, y, z, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis, p11);- 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.