EmitAmbientSound
Emits an ambient sound.
native void EmitAmbientSound(const char[] name, const float pos[3], int entity = 0, int level = SNDLEVEL_NORMAL, int flags = SND_NOFLAGS, float vol = 1.000000, int pitch = 100, float delay = 0.000000)
Parameters
const char[] name
Sound file name relative to the "sound" folder.
const float[3] pos
Origin of sound.
int entity
Entity index to associate sound with.
int level
Sound level (from 0 to 255).
float vol
Volume (from 0.0 to 1.0).
int pitch
Pitch (from 0 to 255).
Return Value
void