Revision Difference
Global.ParticleEffectAttach#561924
<function name="ParticleEffectAttach" parent="Global" type="libraryfunc">
<description>
Creates a particle effect with specialized parameters.
Creates a particle effect with specialized parameters. See also <page>Entity:CreateParticleEffect</page> and <page>Global.CreateParticleSystem</page>.
<note>The particle effect must be precached **serverside** with <page>Global.PrecacheParticleSystem</page> and the file its from must be added via <page>game.AddParticles</page> before it can be used!</note>
</description>
<realm>Shared</realm>
<args>
<arg name="particleName" type="string">The name of the particle effect.</arg>
<arg name="attachType" type="number">Attachment type using <page>Enums/PATTACH</page>.</arg>
<arg name="entity" type="Entity">The entity to be used in the way specified by the attachType.</arg>
<arg name="attachmentID" type="number">The id of the attachment to be used in the way specified by the attachType.</arg>
</args>
</function>