Garry's Mod Wiki

ParticleEffectAttach

ParticleEffectAttach( string particleName, number attachType, Entity entity, number attachmentID )

Description

Creates a particle effect with specialized parameters.

The particle effect must be precached with PrecacheParticleSystem and the file its from must be added via game.AddParticles before it can be used!

Arguments

1 string particleName
The name of the particle effect.
2 number attachType
Attachment type using Enums/PATTACH.
3 Entity entity
The entity to be used in the way specified by the attachType.
4 number attachmentID
The id of the attachment to be used in the way specified by the attachType.

Page Links


Special Pages


Wikis

?

Render Time: 80ms

DB GetPage 47
Generate Html 10
SaveChanges (1) 10
Render Body 0
Render Sidebar 12