te_create_sprite_spray

Синтаксис

stock te_create_sprite_spray(position[3], sprite, velocity[3] = {0, 0, 0}, count = 1, speed = 0, noise = 0, receiver = 0, bool:reliable = true)

Употреба

position
Position of the effect
sprite
Sprite index
velocity
Spray velocity
count
Number of sprays to generate (0 - 255)
speed
The scroll speed of the effect (0 - 255)
noise
The noise amplitude of the effect - this
controls the distorsion of the effect (0 - 255)
receiver
Client index that will be able to see the effect
or 0 for all clients
reliable
If true, the message will be sent via the reliable
channel, otherwise it will use the unreliable one

Описание

Creates a spray of alpha sprites or models.

Забележка

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

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

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