Exemplo n.º 1
0
 /// <summary>
 /// Set a world sound group or specified element enabled or disabled
 /// </summary>
 public bool SetSoundEnabled(WorldSoundGroup group, bool enable, int index = -1, bool immediate = false)
 {
     return(MtaClient.SetWorldSoundEnabled((int)group, index, enable, immediate));
 }
Exemplo n.º 2
0
 /// <summary>
 /// This function allows you to check if certain world sound effects have not been disabled by setWorldSoundEnabled
 /// </summary>
 public bool IsSoundEnabled(WorldSoundGroup group, int index = -1)
 {
     return(MtaClient.IsWorldSoundEnabled((int)group, index));
 }