[FilterScript] Simple Radio System
#1

Hello!, I created a Simple Radio System!
Type /radiohits <- If that no work try with: /radio Ingame to listen



Download Links

http://www.mediafire.com/?lmgbt5eqw33mpty - Full
Pastebin:
Код:
#include <a_samp>
#include <audio>

// --------------------------------------------------
	public OnPlayerCommandText(playerid, cmdtext[])
{
	if(!strcmp(cmdtext, "/radiohits"))
	{
		PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=374494");
		new long_string[50];
		strcat(long_string, "radio - Here you can listen to the server radio!");
		ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Radio - Lets DO IT!", long_string, "Close", "");
		return 1;
	}
	return 0;
}
// ---------------------------------------------------
And you need Audio plugin to! Here you can find: https://sampforum.blast.hk/showthread.php?tid=82162

Enjoy!

EDIT: FORGOT.. TO SAY THIS IS MY FIRST FILTERSCRIPT!
Update: Replace the link with this new link: http://yp.shoutcast.com/sbin/tunein-....pls?id=374494 Into the script.
Reply
#2

OK OK!

NOW WHY IS EVERYTHING FUCKING SIMPLE?!


Go Make Something Unique!


Why you delete some picture?


This Shoudlnt Be Here...

Cuz it isnt even FilterScript
Reply
#3

Quote:
Originally Posted by eMapper
Посмотреть сообщение
OK OK!

NOW WHY IS EVERYTHING FUCKING SIMPLE?!


Go Make Something Unique!


Why you delete some picture?


This Shoudlnt Be Here...

Cuz it isnt even FilterScript
Why so angry.. i just Released it?
Its a problem if i release it? 0.o
And... Its my first Filterscript i released.
Reply
#4

Well its true that u havent worked so hard but.. nice for begginners like u and


Quote:
Originally Posted by eMapper
Посмотреть сообщение
OK OK!

NOW WHY IS EVERYTHING FUCKING SIMPLE?!


Go Make Something Unique!


Why you delete some picture?


This Shoudlnt Be Here...

Cuz it isnt even FilterScript
Lol y so angry bcuz he didnt give an introduction hes just a newbie even if he has many posts lol
Reply
#5

LOL,this is very very simple,this thing can make my grandmother,xD!
BTW pastebin link is not working!
Reply
#6

Quote:
Originally Posted by Plovix
Посмотреть сообщение
LOL,this is very very simple,this thing can make my grandmother,xD!
BTW pastebin link is not working!
Ye Its no work 0.o I will put the code here.
Reply
#7

Can You Add More radio channels so the player will download it cause its only one channel
just practice more you can be good in scripting
Reply
#8

-500/0
Ratings ^^
Reply
#9

Quote:
Originally Posted by Team_PRO
Посмотреть сообщение
Can You Add More radio channels so the player will download it cause its only one channel
just practice more you can be good in scripting
Yea But maybe in a update or something
Reply
#10

Here's a hint....make an imput dialog box, so people can put their own streaming radio channel. That's what I did .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)