te_place_gunshot_decal

Синтаксис

stock te_place_gunshot_decal(position[3], decal = 41, entity = 0, receiver = 0, bool:reliable = true)

Употреба

position
Position of the decal
decal
Decal index (0 - 255)
entity
Entity to apply the decal to or 0 for world
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

Описание

Places a gunshot decal on an entity or the world and plays a ricochet sound.

Забележка

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

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

Тази функция няма връщаща стойност.

Грешка

If "receiver" is non-zero and the client isn't
connected, an error will be thrown.