Beispiel #1
0
 /// <summary>
 /// Create an extra GTA radio station sound
 /// </summary>
 public Sound(ExtraStations station, int trackId, bool looped = false)
     : this(MtaClient.PlaySFX("radio", station.ToString(), trackId, looped))
 {
 }
Beispiel #2
0
 /// <summary>
 /// Create an extra GTA radio station sound at a 3D position in the world
 /// </summary>
 public WorldSound(ExtraStations station, int trackId, Vector3 position, bool looped = false)
     : this(MtaClient.PlaySFX3D("radio", station.ToString(), trackId, position.X, position.Y, position.Z, looped))
 {
 }