game/AddParticles

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Corrected realm)
Line 2: Line 2:
 
|Name=AddParticles
 
|Name=AddParticles
 
|Parent=game
 
|Parent=game
|Description=Loads a particle file.
+
|Description=Loads a particle file. You will still need to call this function clientside regardless if you create the particle effects serverside.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=No
 
|IsClass=No

Revision as of 17:05, 17 May 2016

 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