SA-MP Forums Archive
[Plugin] SA:MP Internet Radio Station - 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: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] SA:MP Internet Radio Station (/showthread.php?tid=324349)

Pages: 1 2 3


Re: SA:MP Internet Radio Station - TheArcher - 24.06.2012

Quote:
Originally Posted by leong124
Посмотреть сообщение
That's why the Audio Plugin exists
Audio Plugin was crated before a basic audio streaming for samp was out. So that's not the reason why Audio Plugin exist


Re: SA:MP Internet Radio Station - leong124 - 25.06.2012

Yes I (or we) may never know the actual reason Incognito create it, but I just mean attaching the audio and control the volume should be what audio plugin does, but not this plugin. This plugin is created for server side broadcasting only.


Re: SA:MP Internet Radio Station - leong124 - 26.06.2012

Sorry for double post, but I want to say that I have the same problem on PlaySoundFileToStream.


Re: SA:MP Internet Radio Station - speeddanator - 30.06.2012

awesome tried it, +rep


Re: SA:MP Internet Radio Station - mkdim9z6 - 27.08.2013

where is the stream and please if you can send me screen shots its better


Re: SA:MP Internet Radio Station - LikeNPC - 01.09.2013

Nice. Your plugin similar to audio plugins?


Re: SA:MP Internet Radio Station - jhonyxakep - 01.09.2013

Quote:

Nice. Your plugin similar to audio plugins?

What do you mean like?

This plugin works as Winamp + shoutcast


Re: SA:MP Internet Radio Station - lefagroll - 02.09.2013

Very nice plugin, though I don't get it to work!
I did as you told in the installation tutorial, and I get no errors when compiling, but there's no sound in game.

What I've done:
1. I copied all the files from the .zip file, not the source and just the radio.inc file from filterscripts folder.
2. I added plugins radio to the server.cfg file
3. I added the code below to my gamemode script:
Код:
public OnFilterScriptInit()
{
    SoundServerStart("lame -r -s 44100 -b 128 -","8000");
	{
		PlaySoundFileToStream("D:/Media/Music/Music/Blu.mp3");
	}
	return 1;
}
At the top of the script I also have #include "radio"

I'm thankful for any answers,
Thanks for reading!


Re: SA:MP Internet Radio Station - LikeNPC - 03.09.2013

Quote:
Originally Posted by jhonyxakep
Посмотреть сообщение
What do you mean like?

This plugin works as Winamp + shoutcast
Sorry, me bad english..

This plugin not used playerid do?


Re: SA:MP Internet Radio Station - jhonyxakep - 03.09.2013

lefagroll, What operating system are using?

Quote:

Sorry, me bad english..

This plugin not used playerid do?

With this plugin you can get a link to the audio stream.

Example:

http://SAMP-Server-Adress.com:P00Rt

Link is a reference to the stream (infinite file) with the music you go running by PlaySoundFileToStream/PlaySoundUrlToStream

Just a internet radio station.
Quote:

Sorry, me bad english..

My English is very bad, too. But I try to fix it.


Respuesta: SA:MP Internet Radio Station - CaptainMactavish - 18.10.2013

Is possible to start more than 1 radio server with this plugin?


Re: SA:MP Internet Radio Station - awirer - 07.09.2014

Thanks


Re: SA:MP Internet Radio Station - jhonyxakep - 08.09.2014

Quote:

Is possible to start more than 1 radio server with this plugin?

I'm sorry for late with answer

You can start stream server on any ip and port. But now plugin allows start only one server (plugin use one handler for all stream server). You can modify SoundServerStart function for return handle to PAWN (it's just DWORD or integer).

I can add this feature later.

rate my English score from 1 to 10 please. For self-development


Re: SA:MP Internet Radio Station - SASRicardoXD - 23.10.2014

PlaySoundUrlToStream can be local or want be external?

edit:

#fail
I read again and i see: PlaySoundFileToStream(file[]); - add file to stream

lol. but nice plugin, its very nice.. really.


edit 2: omg bad playing

the radio station is playing bad the sounds!! D:

you can see what i mean here: http://forum.revolucion-zombie.ml/index.php


Re: SA:MP Internet Radio Station - jhonyxakep - 23.10.2014

Quote:

edit 2: omg bad playing

the radio station is playing bad the sounds!! D:

you can see what i mean here: http://forum.revolucion-zombie.ml/index.php
Hello.

Do you say about lags?


Re: SA:MP Internet Radio Station - MafiaZ - 23.10.2014

Nice.