|
|
#1 |
|
Huge Clucker
![]() ![]() ![]() Join Date: May 2010
Location: in hiding
Posts: 307
Reputation: 6
|
How to Stream Shoutcast to your Server By Sc0pe I have heard some players wanted to know how to add Shoutcast streaming to their server so I made this little tutorial. What Will You Need
The Code So here is the code we will be looking at: pawn Code:
Explanation Now I will explain what each little piece of code does. PlayAudioStreamForPlayer pawn Code:
Stream URLs can look like the following: Below is a proper example of this code: pawn Code:
StopAudioStreamForPlayer pawn Code:
Command Explanations /startradio Explanation pawn Code:
pawn Code:
pawn Code:
/stopradio Explanation pawn Code:
pawn Code:
pawn Code:
Final Notes NOTE: If you want to make a Shoutcast Server for free, use one of the following:NOTE: For those wondering where they can find zcmd, look no further. Last edited by PCheriyan007; 31/07/2012 at 01:31 AM. Reason: SA-MP 0.3d added native Audio functionality. |
|
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2011
Location: -In Ma Bed- Serveur: Corella Infection Pseudo: Boris_Ruskov(admin) IP: Beta Fermé
Posts: 2,333
Reputation: 60
|
Oh God, Good job !
|
|
|
|
|
|
#3 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Posts: 1,306
Reputation: 86
|
And this is supposed to be a tutorial?
|
|
|
|
|
|
#4 |
|
Huge Clucker
![]() ![]() ![]() Join Date: May 2010
Location: in hiding
Posts: 307
Reputation: 6
|
|
|
|
|
|
|
#5 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2010
Location: United Arab Emirates
Posts: 1,677
Reputation: 362
|
I did everything but i cant hear anything
![]() It shows "Connected to [Name of the Radio station goes here]". |
|
|
|
|
|
#6 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2010
Location: Belgium
Posts: 2,408
Reputation: 707
|
Nice tut but i don't understand something...
Euhm, what do you mean with 'A Shoutcast server' ? It's like a radio on internet ? :S |
|
|
|
|
|
#7 |
|
Banned
![]() Join Date: Mar 2011
Posts: 79
Reputation: 0
|
One day, SA-MP will be just like Ventrilo, I have big feelings about it.
|
|
|
|
|
|
#8 |
|
Huge Clucker
![]() ![]() ![]() Join Date: May 2010
Location: in hiding
Posts: 307
Reputation: 6
|
Ironboy - PM me how you put in the code and I will see what is wrong and if there is nothing wrong with the code then it could either be that you didn't install the audio client plugin or that you might have a slow connection.
Michael@Belgium - Yeah like a shoutcast radio station. Pz - you have a very good point .
|
|
|
|
|
|
#9 |
|
Little Clucker
![]() Join Date: Dec 2010
Posts: 2
Reputation: 0
|
help 15 error:S
|
|
|
|
|
|
#10 |
|
Huge Clucker
![]() ![]() ![]() Join Date: May 2010
Location: in hiding
Posts: 307
Reputation: 6
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Your favorite radio stations (shoutcast) | Ivan_Pantovic | Everything and Nothing | 20 | 17/02/2011 01:25 PM |
| Integrated SHOUTcast Server | Ehm-Dee | Help Archive | 6 | 27/12/2010 12:19 AM |
| How do you stream mods into server ? | -CnR-Leonardo | Server Support | 1 | 15/02/2010 01:10 PM |
| Hello I have a question if vresiuea server and go on Mido Stream 0.3A | KeEpEr | Help Archive | 2 | 17/12/2009 11:23 AM |
| car stream z bug ? | c-middia | Help Archive | 6 | 16/09/2009 11:14 AM |