te_create_sprite_spray

Creates a spray of alpha sprites or models.

Syntax

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

Usage

sprite Sprite index
0
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
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 2262 . This documentation was automatically generated from source.