te_create_break_model
Creates a model or sprite entity that slowly disappears until it's gone.
Syntax
stock te_create_break_model(position[3], modelid, size[3] = {50, 50, 50}, velocity[3] = {0, 0, 0}, random = 0, count = 1, life = 10, flags = 0, receiver = 0, bool:reliable = true) {
Usage
| modelid | Model index |
| 50 | — |
| 0 | — |
| random | Random velocity (0 - 255) |
| count | Number of model pieces to generate (0 - 255) |
| life | The length of time the model shall remain (0 - 255) |
| flags | Break model flags: |
| receiver | Client index that will be able to see the model |
| 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 2180
.
This documentation was automatically generated from source.