te_create_bouncing_model
Creates a moving model or sprite that bounces and makes a sound when it hits.
Syntax
stock te_create_bouncing_model(position[3], modelid, velocity[3] = {0, 0, 0}, yaw = 0, BounceSounds:bouncesound = BounceSound_Null, life = 10, receiver = 0, bool:reliable = true) {
Usage
| modelid | Model index |
| 0 | — |
| yaw | Initial yaw |
| bouncesound | Bounce sound type: |
| life | The length of time the model shall remain (0 - 255) |
| 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 2076
.
This documentation was automatically generated from source.