te_display_additive_sprite

Синтаксис

stock te_display_additive_sprite(position[3], sprite, scale = 5, brightness = 255, receiver = 0, bool:reliable = true)

Употреба

position
Sprite position
sprite
Sprite index
scale
Scale of the sprite
brightness
Brightness of the sprite
receiver
Client index that will be able to see the sprite
or 0 for all clients
reliable
If true, the message will be sent via the reliable
channel, otherwise it will use the unreliable one

Описание

Displays an additive sprite that plays one cycle.

Забележка

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

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

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