CLuaEmitter:Add

From Garry's Mod
Jump to: navigation, search
 CLuaEmitter:Add( )

Contents

Description

Creates a new CLuaParticle with the given material and position.

Arguments

string material

The particles material. Can also be an IMaterial.

Arguments

Vector position

The position to spawn the particle on.

Returns

CLuaParticle

The created particle, if any.
Personal tools
Navigation