GraphicsClient

startNetworkedParticleFxNonLoopedAtCoord

START_NETWORKED_PARTICLE_FX_NON_LOOPED_AT_COORD0xF56B8137DF10135D

The 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.

SignatureJavaScript
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
): boolean
SignatureLua
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
): boolean

Usage

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

ParameterTypeJavaScriptLua
effectNamestringstringstring
xPosfloatnumbernumber
yPosfloatnumbernumber
zPosfloatnumbernumber
xRotfloatnumbernumber
yRotfloatnumbernumber
zRotfloatnumbernumber
scalefloatnumbernumber
xAxisBOOLbooleanboolean
yAxisBOOLbooleanboolean
zAxisBOOLbooleanboolean
p11BOOLbooleanboolean

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Open in the interactive natives reference