trace_line

Syntax

native trace_line(iIgnoreEnt, const Float:fStart[3], const Float:fEnd[3], Float:vReturn[3]);

Description

Trace a line from Start(X, Y, Z) to End(X, Y, Z), will return the point hit in vReturn[3]
and an entity index if an entity is hit.