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