PlayerPlayAudioStream Method (String, Vector3, Single) |
Play an 'audio stream' for this player. Normal audio files also work (e.g. MP3).
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic void PlayAudioStream(
string url,
Vector3 position,
float distance
)
Parameters
- url
- Type: SystemString
The url to play. Valid formats are mp3 and ogg/vorbis. A link to a .pls (playlist) file will play
that playlist.
- position
- Type: SampSharp.Entities.SAMPVector3
The position at which to play the audio. - distance
- Type: SystemSingle
The distance over which the audio will be heard.
See Also