Garry's Mod Wiki
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.
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
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...