Difference between revisions of "TE SHOWLINE"
Jump to navigation
Jump to search
Outerbeast (talk | contribs) (Created page with "frame|TE_SHOWLINE Draws a red dotted line between two points that disappears after 30 seconds. Uses fewer dots than TE_LINE. <pre> void te_showlin...") |
(No difference)
|
Latest revision as of 20:09, 7 July 2025
Draws a red dotted line between two points that disappears after 30 seconds. Uses fewer dots than TE_LINE.
void te_showline(Vector start, Vector end, Color c=PURPLE, NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null) { NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest); m.WriteByte(TE_SHOWLINE); m.WriteCoord(start.x); m.WriteCoord(start.y); m.WriteCoord(start.z); m.WriteCoord(end.x); m.WriteCoord(end.y); m.WriteCoord(end.z); m.End(); }
- Vector start Starting point for the line
- Vector end End point for the line