te_emit_sprite_from_player

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

Syntax

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

Usage

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
reliable If true, the message will be sent via the reliable

Return

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

Notes

Video preview of this and all other te_ stocks can be found here:

Defined in msgstocks.inc at line 2613 . This documentation was automatically generated from source.