game/AddParticles

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(example)
(Corrected realm)
Line 3: Line 3:
 
|Parent=game
 
|Parent=game
 
|Description=Loads a particle file.
 
|Description=Loads a particle file.
|Realm=Client
+
|Realm=Shared
 
|IsClass=No
 
|IsClass=No
 
}}
 
}}

Revision as of 16:47, 17 May 2016

 game.AddParticles( )

Contents

Description

Loads a particle file.

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