Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <audio>
- // --------------------------------------------------
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(!strcmp(cmdtext, "/radio"))
- {
- PlayAudioStreamForPlayer(playerid, "http://www.shoutcast.com/shoutcast_popup_player?station_id=219630&play_status=1&stn=HITZ%20NOW!/listen.pls");
- 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;
- }
- // ---------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement