CreateParticleSystemNoEntity
CNewParticleEffect CreateParticleSystemNoEntity( string effect, Vector pos, Angle ang = Angle( 0, 0, 0 ) )
Description
Creates a new particle system, and sets control points 0 and 1 to given position, as well as optionally orientation of CP0 to the given angles. See also CreateParticleSystem
The particle effect must be precached with PrecacheParticleSystem and the file its from must be added via game.AddParticles before it can be used!
Arguments
1 string effect
The name of the effect to create. It must be precached via PrecacheParticleSystem beforehand.
Returns
Example
Creates a big explosion effect at the place the player is looking at.
Garry's Mod
Rust
Steamworks
Wiki Help