te_draw_line
Draws a simple line.
Syntax
stock te_draw_line(startpos[3], endpos[3], life = 10, r = 0, g = 0, b = 255, receiver = 0, bool:reliable = true) {
Usage
| life | Line life |
| r | Red color amount (0 - 255) |
| g | Green color amount (0 - 255) |
| b | Blue color amount (0 - 255) |
| receiver | Client index that will be able to see the line |
| reliable | If true, the message will be sent via the reliable |
Return
if "receiver" is non-zero and the client isn't connected,
Notes
Video preview of this and all other te_ stocks can be found here:
Defined in
msgstocks.inc
at line 1763
.
This documentation was automatically generated from source.