te_create_smoke
Creates smoke (a rising alphablend sprite at 30 pps).
Syntax
stock te_create_smoke(position[3], sprite, scale = 10, framerate = 30, receiver = 0, bool:reliable = true) {
Usage
| sprite | The alphablend sprite index to use for the smoke |
| scale | The scale of the smoke (0 - 255) |
| framerate | The frame rate to show the sprite at (0 - 255) |
| receiver | Client index that will be able to see the smoke |
| reliable | If true, the message will be sent via the reliable |
Return
if "receiver" is non-zero and the client isn't connected,
Notes
A common sprite to use is "sprites/steam1.spr"
Video preview of this and all other te_ stocks can be found here:
Defined in
msgstocks.inc
at line 873
.
This documentation was automatically generated from source.