te_emit_sprite_from_player

Синтаксис

stock te_emit_sprite_from_player(player, sprite, count = 1, variance = 0, receiver = 0, bool:reliable = true)

Употреба

player
Client index to emit the sprites from (can't be 0)
sprite
Sprite index
count
Number of sprites to generate (0 - 255)
variance
Variance in size (0 = no variance; 10 = 10% variance) (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

Описание

Emits sprites or models from a player's bounding box.

Забележка

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

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

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