Type | Description |
---|---|
AmbientSHook | Called when an ambient sound is about to be emitted to one or more clients. |
NormalSHook |
Function | Description |
---|---|
AddAmbientSoundHook | Hooks all played ambient sounds. |
AddNormalSoundHook | Hooks all played normal sounds. |
ATTN_TO_SNDLEVEL | Converts an attenuation value to a sound level. This function is from the HL2SDK. |
EmitAmbientGameSound | Emits an ambient game sound. |
EmitAmbientSound | Emits an ambient sound. |
EmitGameSound | Emits a game sound to a list of clients. |
EmitGameSoundToAll | Wrapper to emit game sound to all clients. |
EmitGameSoundToClient | Wrapper to emit a game sound to one client. |
EmitSentence | Emits a sentence to a list of clients. |
EmitSound | Emits a sound to a list of clients. |
EmitSoundEntry | 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. |
EmitSoundToAll | Wrapper to emit sound to all clients. |
EmitSoundToClient | Wrapper to emit sound to one client. |
FadeClientVolume | Fades a client's volume level toward silence or a given percentage. |
GetDistGainFromSoundLevel | Calculates gain of sound on given distance with given sound level in decibel |
GetGameSoundParams | Retrieves the parameters for a game sound. |
GetSoundDuration | |
PrecacheScriptSound | Precache a game sound. |
PrefetchSound | Prefetches a sound. |
RemoveAmbientSoundHook | Unhooks all played ambient sounds. |
RemoveNormalSoundHook | Unhooks all played normal sounds. |
StopSound | Stops a sound. |
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.