te_create_explosion

Creates an explosion.

Syntax

stock te_create_explosion(position[3], sprite, scale = 10, framerate = 30, flags = TE_EXPLFLAG_NONE, receiver = 0, bool:reliable = true) {

Usage

sprite The additive sprite index to use in the explosion
scale The scale of the sprite in the explosion (0 - 255)
framerate The frame rate to show the sprite at (0 - 255)
flags Explosion flags:
receiver Client index that will be able to see the explosion
reliable If true, the message will be sent via the reliable

Return

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

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