stock te_create_box(startpos[3], endpos[3], life = 10, r = 0, g = 0, b = 255, receiver = 0, bool:reliable = true)
startpos | Starting position of the box |
endpos | Ending position of the box |
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 or 0 for all clients |
reliable | If true, the message will be sent via the reliable channel, otherwise it will use the unreliable one |
Creates a simple box.
Video preview of this and all other te_ stocks can be found here: https://youtu.be/szW-bSMPuyQ?t=6m45s
0 if "receiver" is non-zero and the client isn't connected, 1 otherwise
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.