Click or drag to resize

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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public 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