Emits a sound or game sound to a list of clients using the latest version of the engine sound interface. This native is only available in engines that are greater than or equal to Portal 2.
void EmitSoundEntry(const int clients, int numClients, const char soundEntry, const char sample, int entity, int channel, int level, int seed, int flags, float volume, int pitch, int speakerentity, const float origin, const float dir, bool updatePos, float soundtime, any... ...)
Array of client indexes.
Number of clients in the array.
Sound entry name.
Sound file name relative to the "sound" folder.
Entity to emit from.
Channel to emit with.
Unknown (updates positions?)
Alternate time to play sound for.
Optional list of Float arrays to specify additional origins.
Invalid client index.