game.AddParticles

From Garry's Mod
Revision as of 17:05, 17 May 2016 by Bo98 (Talk | contribs)
Jump to: navigation, search
 game.AddParticles( )

Contents

Description

Loads a particle file. You will still need to call this function clientside regardless if you create the particle effects serverside.

Arguments

string particleFileName

The path of the file to add. Must be (file).pcf.

Examples

Example

Adds the particle file named "myparticles.pcf"

game.AddParticles( "particles/myparticles.pcf" )


Personal tools
Navigation