[Ajuda] FilterScript de rбdio
#1

GameMode usado: Brasil Play Scripter 1.2 - Crйditos: Pablo_Script e Weslley_Script
FilterScript usado: Rбdio System v1.0- Crйditos: Jonas_Alves

Quando eu digito /radios, aparece o Menu, dai aperto em "Variados" e aparece : Vocк jб estб logado !
Reply
#2

Deve ser conflito no ID. Troque.
Reply
#3

E como faz isso ? Poderia me mandar o certo ?
Reply
#4

PHP код:
#include <a_samp>
#include <audio>
#include <zcmd>
#define RADIOS 2012
#define RADIOGOSPEL 2013
#define RADIOFUNK 2014
#define RADIOPOP 2015
#define RADIOHIPHOP 2016
#define RADIORAP 2017
#define RADIOROCK 2018
#define CORJONAS 0xFFFF3880
public OnFilterScriptInit()
{
    print(
"\n-----------------------------------------------");
    print(
" Sistema de Rбdio 0.3e Carregado. By: Jonas_Alves");
    print(
"            Nгo retire os crйditos !!            ");
    print(
"-----------------------------------------------\n");
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    
SendClientMessage(playeridCORJONAS"{FFF39F}Este servidor contйm sistema de Rбdio. Criado por Jonas_Alves");
    return 
1;
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == RADIOGOSPEL)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Ganhador de Almas, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://64.31.30.142:8007");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 1)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio All Time Gospel, {5CD844}Sintoizada !");
                
PlayAudioStreamForPlayer(playerid"http://67.205.95.146:8038");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 2)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Jesus House, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://174.142.104.137:8310");
                
TogglePlayerControllable(playerid1);
            }
            if(
listitem == 3)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Voz de Deus, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://173.212.197.233:9980");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 4)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Ilumina 98.1, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://66.128.53.6:8058");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
        }
    }
    if(
dialogid == RADIOFUNK)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Detona Funk, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://184.154.37.136:7081");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 1)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Diva Funk, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://184.154.37.136:7081");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 2)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Elite do Funk, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://64.56.64.35:16020");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 3)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Top Funk, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://96.9.177.22:9954");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 4)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Castelo Funk Digital {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://64.56.64.75:10718");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
        }
    }
    if(
dialogid == RADIOPOP)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Top Hits Music, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://207.200.96.230:8002");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 1)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Brasil Hits, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://77.95.228.201:8000");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 2)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Sound Pop, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://178.159.0.13:7746");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 3)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Fusion, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://65.60.34.34:8004");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 4)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio All Hits Station, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://199.195.192.234:9998");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
        }
    }
    if(
dialogid == RADIOHIPHOP)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Beat FM, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://89.105.32.12:8110");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 1)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Power 104 FM, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://89.105.32.12:8110");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 2)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Hot 97 FM, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://208.43.9.96:8056");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 3)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Urban Hitz, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://108.166.161.206:8080");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 4)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Hot 108 Jamz, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://scfire-ntc-aa06.stream.aol.com:80/stream/1071");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
        }
    }
    if(
dialogid == RADIORAP)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}BlackBeats FM, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://85.17.26.77:80");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 1)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}181 FM, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://108.61.73.117:8054");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 2)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}96.3 Vip Fm, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://159.253.131.114:8654");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 3)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Flow 103, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://173.245.71.186:80");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 4)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Got Radio, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://206.217.213.235:8140");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
        }
    }
    if(
dialogid == RADIOROCK)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}RockRadio1.Com, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://77.74.192.50:8000");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 1)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Zone Rhe Rive , {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://67.212.165.162:7018");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 2)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}Frequence 3, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://193.251.154.245:8000");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 3)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}181.fm - The Eagle, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://108.61.73.117:10002");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            if(
listitem == 4)
            {
                
SendClientMessage(playeridCORJONAS"{FFF39F}New. Music, {5CD844}Sintonizada !");
                
PlayAudioStreamForPlayer(playerid"http://209.73.138.20:80");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
        }
    }        
    if(
dialogid == RADIOS)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
ShowPlayerDialog(playeridRADIOGOSPELDIALOG_STYLE_LIST"{FFF39F}Rбdio - Gospel""Ganhador de Almas\nAll Time Gospel\nJesus House\nVoz de Deus\nIlumina FM 98.1\n""Sintonizar""Cancelar"); 
                return 
1;
            }
            if(
listitem == 1)
            {
                
ShowPlayerDialog(playeridRADIOFUNKDIALOG_STYLE_LIST"{FFF39F}Rбdio - Funk""Detona funk\nDiva Funk\nElite do Funk\nTop Funk\nCastelo Funk Digitaln""Sintonizar""Cancelar");
                return 
1;
            }
            if(
listitem == 2)
            {
                
ShowPlayerDialog(playeridRADIOPOPDIALOG_STYLE_LIST"{FFF39F}Rбdio - Pop""Top Hits Music \nBrasil Hits\nSound Pop\nFusion\nAll Hits Station\n""Sintonizar""Cancelar");
                return 
1;
            }
            if(
listitem == 3)
            {
                
ShowPlayerDialog(playeridRADIOHIPHOPDIALOG_STYLE_LIST"{FFF39F}Rбdio - Hip Hop""Beat FM\nPower 104 FM\nHot 97 FM\nUrban Hitz\nHot 108 Jamz\n""Sintonizar""Cancelar");
                return 
1;
            }
            if(
listitem == 4)
            {
                
ShowPlayerDialog(playeridRADIORAPDIALOG_STYLE_LIST"{FFF39F}Rбdio - Rap""BlackBeats FM\n181 FM\n96.3 Vip Fm\nFlow 103\nGot Radio""Sintonizar""Cancelar");  
                return 
1;
            }
            if(
listitem == 5)
            {
                
ShowPlayerDialog(playeridRADIOROCKDIALOG_STYLE_LIST"{FFF39F}Rбdio - Rock""RockRadio1.Com\n181 FM\n96.3 Vip Fm\nFlow 103\nGot Radio""Sintonizar""Cancelar");  
                return 
1;
            }
            if(
listitem == 6)
            {
                
StopAudioStreamForPlayer(playerid);
                
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio Desligada.");
                
TogglePlayerControllable(playerid1);
                return 
1;
            }
            else
            {
                
TogglePlayerControllable(playerid1);
            }
        }    
    }
    return 
1;
}
CMD:radios(playerid)
{
    
ShowPlayerDialog(playeridRADIOSDIALOG_STYLE_LIST"{FFF39F}Rбdio System Jonas v1.0. By: Jonas_Alves""Gospel\nFunk\nPop\nHip Hop\nRap\nRock\nDesligar Rбdio""Selecionar""Sair");
    
SendClientMessage(playeridCORJONAS"{FFF39F}Rбdio System Jonas v1.0 Aberto");
    
TogglePlayerControllable(playerid0);
    return 
1;

Reply
#5

Mas esse й o original, e tem muitas rбdios .-.
Tem como fazer sу com essas rбdios que eu coloquei nesse meu ? =/
Reply
#6

Quote:
Originally Posted by Yoshimitsu
Посмотреть сообщение
Mas esse й o original, e tem muitas rбdios .-.
Tem como fazer sу com essas rбdios que eu coloquei nesse meu ? =/
й Confrito como a humildadeforever Disse, e o Ouro jб te deu a soluзгo.

pawn Код:
#define RADIOS 2012
#define RADIOGOSPEL 2013
#define RADIOFUNK 2014
#define RADIOPOP 2015
#define RADIOHIPHOP 2016
#define RADIORAP 2017
#define RADIOROCK 2018
Reply
#7

Mas no caso do meu, sу muda as defines ?
Reply
#8

Sim.
Reply
#9

Muito obrigado *-*
Reply
#10

Agora no meu, eu coloco variadas e nгo passa disso, comofas?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)