Dynamic Systems [Y_INI] - 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: Dynamic Systems [Y_INI] (
/showthread.php?tid=576709)
Dynamic Systems [Y_INI] -
SHoCK44 - 06.06.2015
I haven't been scripting for a while, so I'm still not able to figure out some things on my own. My idea consists of creating a radio system to listen to some good music. Hey hey, it's not that easy, I'd like to create my own stations without adding them to my gamemode. Well, my idea should be more clear now, isn't it?
Before you answer my question, make sure you do not say things such as, ''Use the search button'', or ''****** is your friend''. All I need is a simple tutorial because I need to learn what I see, that's it.
Thanks.
Re: Dynamic Systems [Y_INI] -
Yashas - 06.06.2015
I don't if there is any tutorial which would meet your needs.
Here is my idea.You could make your own mp3 files with your radio stations and upload them to your server.Then use PlayerAudioStreamForPlayer to play the radio song.If the player switches a station then stop the current radio stream and play another file.You can do some admin cmds or something where admins can edit a radio playlist.It is left to you decide if you want the whole radio in one file or if the server is going to dynamically play individual songs one after another.
PlayAudioStreamForPlayer SA-MP Wiki
StopAudioStreamForPlayer SA-MP Wiki
[Tutorial]PlayAudioStreamForPlayer
[Tutorial]How to stream Shoutcast to your server