setParticleFxLoopedOffsets
SET_PARTICLE_FX_LOOPED_OFFSETS0xF7DDEBEC43483C43The GTA V native SET_PARTICLE_FX_LOOPED_OFFSETS of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setParticleFxLoopedOffsets, in JavaScript and in Lua.
setParticleFxLoopedOffsets(
ptfxHandle: number,
x: number,
y: number,
z: number,
rotX: number,
rotY: number,
rotZ: number
): voidsetParticleFxLoopedOffsets(
ptfxHandle: integer,
x: number,
y: number,
z: number,
rotX: number,
rotY: number,
rotZ: number
)Usage
JavaScript
setParticleFxLoopedOffsets(ptfxHandle, x, y, z, rotX, rotY, rotZ);Lua
setParticleFxLoopedOffsets(ptfxHandle, x, y, z, rotX, rotY, rotZ)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
setParticleFxLoopedOffsets(ptfxHandle, pos, rot);Lua · with vectors
setParticleFxLoopedOffsets(ptfxHandle, pos, rot)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ptfxHandle | int | number | integer |
x | float | number | number |
y | float | number | number |
z | float | number | number |
rotX | float | number | number |
rotY | float | number | number |
rotZ | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void SET_PARTICLE_FX_LOOPED_OFFSETS(int ptfxHandle, float x, float y, float z, float rotX, float rotY, float rotZ)- Hash
0xF7DDEBEC43483C43