Garry's Mod Wiki

util.ParticleTracer

  util.ParticleTracer( string name, Vector startPos, Vector endPos, boolean doWhiz )

Description

Creates a tracer effect with the given parameters.

Arguments

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.