te_create_box

Creates a simple box.

Syntax

stock te_create_box(startpos[3], endpos[3], life = 10, r = 0, g = 0, b = 255, receiver = 0, bool:reliable = true) {

Usage

life Box 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 box
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 1805 . This documentation was automatically generated from source.