28.10.2012, 15:19
(
Последний раз редактировалось (SWE)Gold; 04.11.2012 в 17:30.
Причина: Link update
)
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:
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.
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;
}
// ---------------------------------------------------
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.



But maybe in a update or something