gta.addParticleEffect
Function
Client Only
Online and Offline
Available since Client 1.0.0
void gta.addParticleEffect(int effect, Vec3 position, [ bool temporary = false ])
The gta.addParticleEffect function is used to add a particle effect.
Parameters
1) | int | effect | The particle effect ID. |
2) | Vec3 | position | The 3D game position for the particle effect. |
3) | 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.addParticleEffect
in client version 1.0.71.
Related
Client Related
gta.addMovingParticleEffect
gta.addParticleEffect
gta.createSingleParticle