gta.addMovingParticleEffect: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(No difference)
|
Latest revision as of 23:16, 2 October 2019
Function
Client Only
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
gta.addMovingParticleEffect
gta.addParticleEffect
gta.createSingleParticle