Garry's Mod Wiki


  util.ParticleTracerEx( string name, Vector startPos, Vector endPos, boolean doWhiz, number entityIndex, number attachmentIndex )


Creates a tracer effect with the given parameters.


1 string name
The name of the tracer effect.
2 Vector startPos
The start position of the tracer.
3 Vector endPos
The end position of the tracer.
4 boolean doWhiz
Play the hit miss(whiz) sound.
5 number entityIndex
Entity index of the emitting entity.
6 number attachmentIndex
Attachment index to be used as origin.