Called when an ambient sound is about to be emitted to one or more clients.
NOTICE: all parameters can be overwritten to modify the default behavior.
typedef AmbientSHook = function Action(char sample[], int& entity, float& volume, int& level, int& pitch, float pos[3], int& flags, float& delay)
Sound file name relative to the "sound" folder.
Entity index associated to the sound.
Volume (from 0.0 to 1.0).
Sound level (from 0 to 255).
Pitch (from 0 to 255).
Origin of sound.
Sound flags.
Play delay.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.