startNetworkedParticleFxNonLoopedAtCoord
START_NETWORKED_PARTICLE_FX_NON_LOOPED_AT_COORD0xF56B8137DF10135DThe GTA V native START_NETWORKED_PARTICLE_FX_NON_LOOPED_AT_COORD of the GRAPHICS namespace, as LS:MP client scripts call it: the global function startNetworkedParticleFxNonLoopedAtCoord, in JavaScript and in Lua.
startNetworkedParticleFxNonLoopedAtCoord(
effectName: string,
xPos: number,
yPos: number,
zPos: number,
xRot: number,
yRot: number,
zRot: number,
scale: number,
xAxis: boolean,
yAxis: boolean,
zAxis: boolean,
p11: boolean
): booleanstartNetworkedParticleFxNonLoopedAtCoord(
effectName: string,
xPos: number,
yPos: number,
zPos: number,
xRot: number,
yRot: number,
zRot: number,
scale: number,
xAxis: boolean,
yAxis: boolean,
zAxis: boolean,
p11: boolean
): booleanUsage
JavaScript
const result = startNetworkedParticleFxNonLoopedAtCoord(
effectName, xPos, yPos, zPos, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis, p11
);Lua
local result = startNetworkedParticleFxNonLoopedAtCoord(
effectName, xPos, yPos, zPos, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis, p11
)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
JavaScript · with vectors
const result = startNetworkedParticleFxNonLoopedAtCoord(
effectName, pos, rot, scale, xAxis, yAxis, zAxis, p11
);Lua · with vectors
local result = startNetworkedParticleFxNonLoopedAtCoord(
effectName, pos, rot, scale, xAxis, yAxis, zAxis, p11
)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
effectName | string | string | string |
xPos | float | number | number |
yPos | float | number | number |
zPos | float | number | number |
xRot | float | number | number |
yRot | float | number | number |
zRot | float | number | number |
scale | float | number | number |
xAxis | BOOL | boolean | boolean |
yAxis | BOOL | boolean | boolean |
zAxis | BOOL | boolean | boolean |
p11 | BOOL | boolean | boolean |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json
Reference
- Namespace
- Graphics GRAPHICS
- In the game
BOOL START_NETWORKED_PARTICLE_FX_NON_LOOPED_AT_COORD(const char* effectName, float xPos, float yPos, float zPos, float xRot, float yRot, float zRot, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis, BOOL p11)- Hash
0xF56B8137DF10135D- Formerly
_START_PARTICLE_FX_NON_LOOPED_AT_COORD_2