Emits a sound to a list of clients.
void EmitSound(const int[] clients, int numClients, const char[] sample, int entity, int channel, int level, int flags, float volume, int pitch, int speakerentity, const float origin[3], const float dir[3], bool updatePos, float soundtime, any... ...)
Array of client indexes.
Number of clients in the array.
Sound file name relative to the "sound" folder.
Entity to emit from.
Channel to emit with.
Sound level.
Sound flags.
Sound volume.
Sound pitch.
Unknown.
Sound origin.
Sound direction.
Unknown (updates positions?)
Alternate time to play sound for.
Optional list of Float[3] arrays to specify additional origins.
Invalid client index or client not in game.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.