PrecacheParticleSystem
PrecacheParticleSystem( string particleSystemName )
Description
Precaches a particle system with the specified name. The particle system must come from a file that is loaded with game.AddParticles beforehand.
When used on the server, it automatically precaches the particle on client.
There is a limit of 4096 precached particles on the server. So only precache particles that are actually going to be used.
There is no limit clientside.
Arguments
Example
Example usage of the function. Precaches ExplosionCore_wall particle from particles/explosion.pcf, a Team Fortress 2 particle file.
You can find a list of particles inside a .pcf file using the Particle Editor Tool
Garry's Mod
Rust
Steamworks
Wiki Help