te_attach_model_to_player

Синтаксис

stock te_attach_model_to_player(player, model, offset = 0, life = 5, receiver = 0, bool:reliable = true)

Употреба

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
or 0 for all clients
reliable
If true, the message will be sent via the reliable
channel, otherwise it will use the unreliable one

Описание

Attaches a temporary entity model to a client.

Забележка

Video preview of this and all other te_ stocks can be found here:
https://youtu.be/szW-bSMPuyQ?t=11m16s

Връщаща стойност

0 if "receiver" is non-zero and the client isn't connected,
1 otherwise