native emit_sound(index, channel, const sample, Float:vol, Float:att, flags, pitch);
Entity index, use 0 to emit from all clients
Channel to emit from
Sound file to emit
Volume in percent
Emits a sound from an entity from the engine.
The sample must be precached using precache_sound() so it is available in the engine's sound table.
For a list of available channels, see CHAN_* constants in amxconst.inc, sounds emitted from the same channel will override each other.
There are helpful reference constants in amxconst.inc for sound volume (VOL_*), attenuation (ATTN_*), flags (SND_*), and pitch (PITCH_*).
This function has no return value.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.