Garry's Mod Wiki

CLuaEmitter:Add

CLuaParticle CLuaEmitter:Add( string material, Vector position )

Description

Creates a new CLuaParticle with the given material and position.

Arguments

1 string material
The particles material. Can also be an IMaterial.
2 Vector position
The position to spawn the particle on.

Returns

1 CLuaParticle
The created particle, if any.

Page Links


Special Pages


Wikis

?

Render Time: 36ms

DB GetPage 2
Generate Html 10
SaveChanges (1) 9
Render Body 0
Render Sidebar 6