gta.addMovingParticleEffect

From GTA Connected
(Redirected from Gta.addMovingParticleEffect)
Jump to navigation Jump to search

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

void gta.addMovingParticleEffect(int effect, Vec3 position, Vec3 strength, float scale, int durationMilliseconds, [ int colour = 0, bool temporary = false ])

The gta.addMovingParticleEffect function is used to add a moving particle effect.

Parameters

1) int effect The particle effect ID.
2) Vec3 position The 3D game position for the particle effect.
3) Vec3 strength The 3D strength for the particle effect.
4) float scale The scale for the particle effect.
5) int durationMilliseconds The duration the particle effect should occur for, in milliseconds.
6) int colour Optional, defaults to 0. The colour for the particle effect.
7) bool temporary Optional, defaults to false. Whether the particle effect is temporary.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

  • This function was previously named game.addMovingParticleEffect in client version 1.0.71.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png gta.addMovingParticleEffect
icon-iii.png icon-vc.png icon-sa.png gta.addParticleEffect
icon-iii.png icon-vc.png icon-sa.png gta.createSingleParticle