te_attach_model_to_player
Attaches a temporary entity model to a client.
Syntax
stock te_attach_model_to_player(player, model, offset = 0, life = 5, receiver = 0, bool:reliable = true) {
Usage
| player | Client index to attach the model to |
| model | Model index |
| offset | Vertical offset (attachment origin.z = player origin.z + vertical offset) |
| life | The length of time the model shall remain |
| 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 2728
.
This documentation was automatically generated from source.