Class Audio
Inheritance
System.Object
Audio
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GTA
Assembly: ScriptHookVDotNet2.dll
Syntax
public static class Audio
Methods
| Name | Description |
|---|---|
| HasSoundFinished(Int32) | Gets a boolean indicating whether the specified sound instance has completed playing. |
| PlaySoundAt(Entity, String) | Plays a sound from the game's sound files at the specified |
| PlaySoundAt(Entity, String, String) | Plays a sound from the game's sound files at the specified |
| PlaySoundAt(Vector3, String) | Plays a sound from the game's sound files at the specified |
| PlaySoundAt(Vector3, String, String) | Plays a sound from the game's sound files at the specified |
| PlaySoundFrontend(String) | Plays a sound from the game's sound files without transformation. |
| PlaySoundFrontend(String, String) | Plays a sound from the game's sound files without transformation. |
| ReleaseSound(Int32) | Releases the specified sound instance. Call this for every sound effect started. |
| SetAudioFlag(AudioFlag, Boolean) | |
| SetAudioFlag(String, Boolean) | |
| StopSound(Int32) | Cancels playing the specified sound instance. |