Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- //|=====================================================================|
- //|Filterscript Feita Por BlackFrog Por Favor Não Apague isso, Obrigado!|
- //|=====================================================================|
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/radio", cmdtext, true, 10) == 0)
- {
- ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Radios", "{696969}Radio Rock\n{8A2BE2}Radio Pop\n{4169FF}Radio Thrash Metal\n{FF8C00}Radio Rap e Hip Hop\n{FFFF82}Radio Funk\n{FFFAF0}Radio Clássica\n{FF6347}Radio Eletrônica\n{00FF00}Radio Reggae\n{00C7FF}Radio Jazz\n{A0522D}Radio Sertanejo\nDesligar Radios", "Selecionar", "Sair");
- return 1;
- }
- return 0;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == 1){
- if(response){
- if(listitem == 0){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://bit.ly/1dHuXfO");
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Radio Rock Selecionada Com Sucesso.");
- }
- }
- if(listitem == 1){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://bit.ly/1sfl3fn");
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Radio Pop Selecionada Com Sucesso.");
- }
- }
- if(listitem == 2){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://bit.ly/1xRoDwY");
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Radio Thrash Metal Selecionada Com Sucesso.");
- }
- }
- if(listitem == 3){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://bit.ly/1ojrpoQ");
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Radio Rap e Hip Hop Selecionada Com Sucesso.");
- }
- }
- if(listitem == 4){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://bit.ly/1lnRt2n");
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Radio Funk Selecionada Com Sucesso.");
- }
- }
- if(listitem == 5){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://bit.ly/1keidXK");
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Radio Clássica Selecionada Com Sucesso.");
- }
- }
- if(listitem == 6){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://bit.ly/1nfUuS6");
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Radio Eletrônica Selecionada Com Sucesso.");
- }
- }
- if(listitem == 7){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://bit.ly/1keiXML");
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Radio Reggae Selecionada Com Sucesso.");
- }
- }
- if(listitem == 8){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://bit.ly/1qSc4U6");
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Radio Jazz Selecionada Com Sucesso.");
- }
- }
- if(listitem == 9){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://bit.ly/1qSbR3s");
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Radio Sertanejo Selecionada Com Sucesso.");
- }
- }
- if(listitem == 10){
- {
- StopAudioStreamForPlayer(playerid);
- SendClientMessage(playerid, 0xFFFFFF, "{FFFF00}[INFO]: {2E8B57}Todas as Radios Desligadas Com Sucesso.");
- }
- }
- }
- else{
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment