SA-MP Forums Archive
[REQ]Radio Command - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [REQ]Radio Command (/showthread.php?tid=331155)



[REQ]Radio Command - MatelJoker - 03.04.2012

I want the this command;
((Enter this command to the radio object has to come player pos))

/radio [url]

Thanks for helping


Re: [REQ]Radio Command - Alternative112 - 03.04.2012

This should be what you're looking for:

https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer

Validate the URL, and set the position to wherever the player is. Note that it will only work for mp3 and ogg/vorbis files.


Re: [REQ]Radio Command - MatelJoker - 04.04.2012

Quote:
Originally Posted by Alternative112
View Post
This should be what you're looking for:

https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer

Validate the URL, and set the position to wherever the player is. Note that it will only work for mp3 and ogg/vorbis files.
This is not looking for charity.
((music players to determine their own /radio [URL]))