G.PrecacheParticleSystem
From GMod Wiki
| Function | |
| Syntax |
PrecacheParticleSystem( String name ) Where is this used? |
| Description: | |
| Preloads a particle system. | |
| Returns: | nil |
| Part of Library: | Global Functions |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.PrecacheParticleSystem]G.PrecacheParticleSystem [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Precaches a particle. |
|---|---|
| Used on | |
| Code | PrecacheParticleSystem("crit_text") |
| Output | N/A |
Additional Notes
- You must precache the particle system shared (the name is not the file name, but rather the name in the file)
- This will prevent red crosses from appearing instead of the actual particle effect when creating it clientside