[Ajuda] ajudo com erros
#1

pawn Код:
G:\Pen Drive\Brasil Vida Juvenil\gamemodes\BEG2.pwn(19947) : error 075: input line too long (after substitutions)
G:\Pen Drive\Brasil Vida Juvenil\gamemodes\BEG2.pwn(19948) : error 037: invalid string (possibly non-terminated string)
G:\Pen Drive\Brasil Vida Juvenil\gamemodes\BEG2.pwn(19948) : error 029: invalid expression, assumed zero
G:\Pen Drive\Brasil Vida Juvenil\gamemodes\BEG2.pwn(19948) : error 029: invalid expression, assumed zero
G:\Pen Drive\Brasil Vida Juvenil\gamemodes\BEG2.pwn(19948) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.



 // linha 19948
ShowPlayerDialog(playerid, Pablete, DIALOG_STYLE_LIST, ".:: - Musica - ::.", "{00FF00}Radio_BVJ_1\nRadio BVJ_2\nRadio BVJ_3\nRadio BVJ_4\nRadio BVJ_5\nRadio BVJ_6\nRadio BVJ_7\nRadio BVJ_8\nRadio BVJ_9\nRadio BVJ_10\nRadio BVJ_11\nRadio BVJ_12\nRadio BVJ_13\nRadio BVJ_14\nRadio BVJ_15\nRadio BVJ_16\nRadio BVJ_17\nRadio Avicii_ft_Dan_Tyminski_Hey_Brother\nRadio Bruno_Mars_Treasure\nRadio Demi_Lovato_Heart_Attack\nRadio Britney_Spears_Work_\nRadio Calvin_Harris_I_Need_Your_Love\nRadio Ele_s_quer_saber_de_GTA\nRadio Lady_Gaga_Applause_\nRadio Miley_Cyrus_We_Can_t_Stop\nRadio P_nk_Just_Give_Me_A_Reason_ft_\nRadio Pitbull_Timber_ft_Ke_ha_6_\nRadio Rap_do_GTA_San_Andreas\nDesligar Radio", "Selecionar", "Sair");
Reply
#2

pawn Код:
ShowPlayerDialog(playerid, Pablete, DIALOG_STYLE_LIST, ".:: - Musica - ::.", "{00FF00}Radio_BVJ_1\nRadio BVJ_2\nRadio BVJ_3\nRadio BVJ_4\nRadio BVJ_5\nRadio BVJ_6\nRadio BVJ_7\nRadio BVJ_8\nRadio BVJ_9\nRadio BVJ_10\nRadio BVJ_11\nRadio BVJ_12\nRadio BVJ_13\nRadio BVJ_14\nRadio BVJ_15\nRadio BVJ_16\nRadio BVJ_17\nRadio Avicii_ft_Dan_Tyminski_Hey_Brother\nRadio Bruno_Mars_Treasure\nRadio Demi_Lovato_Heart_Attack\nRadio Britney_Spears_Work_\nRadio Calvin_Harris_I_Need_Your_Love\nRadio Ele_s_quer_saber_de_GTA\nRadio Lady_Gaga_Applause_\nRadio Miley_Cyrus_We_Can_t_Stop\nRadio P_nk_Just_Give_Me_A_Reason_ft_\nRadio Pitbull_Timber_ft_Ke_ha_6_\nRadio Rap_do_GTA_San_Andreas\nDesligar Radio", "Selecionar", "Sair");
Isso esta muito grande.
Reply
#3

Quote:
Originally Posted by CharlieBrown
Посмотреть сообщение
pawn Код:
ShowPlayerDialog(playerid, Pablete, DIALOG_STYLE_LIST, ".:: - Musica - ::.", "{00FF00}Radio_BVJ_1\nRadio BVJ_2\nRadio BVJ_3\nRadio BVJ_4\nRadio BVJ_5\nRadio BVJ_6\nRadio BVJ_7\nRadio BVJ_8\nRadio BVJ_9\nRadio BVJ_10\nRadio BVJ_11\nRadio BVJ_12\nRadio BVJ_13\nRadio BVJ_14\nRadio BVJ_15\nRadio BVJ_16\nRadio BVJ_17\nRadio Avicii_ft_Dan_Tyminski_Hey_Brother\nRadio Bruno_Mars_Treasure\nRadio Demi_Lovato_Heart_Attack\nRadio Britney_Spears_Work_\nRadio Calvin_Harris_I_Need_Your_Love\nRadio Ele_s_quer_saber_de_GTA\nRadio Lady_Gaga_Applause_\nRadio Miley_Cyrus_We_Can_t_Stop\nRadio P_nk_Just_Give_Me_A_Reason_ft_\nRadio Pitbull_Timber_ft_Ke_ha_6_\nRadio Rap_do_GTA_San_Andreas\nDesligar Radio", "Selecionar", "Sair");
Isso esta muito grande.
o que posso fazer entгo ??
Reply
#4

usa um format.

https://sampwiki.blast.hk/wiki/Format
Reply
#5

Quote:
Originally Posted by PT
Посмотреть сообщение
Poder me da um exemplo de como posso fazer isto ?
Reply
#6

pawn Код:
new string[500];
strins(string,"asd\nasda\n",strlen(string));
strins(string,"asd\nasda\n",strlen(string));
ShowPlayerDialog(playerid,12, DIALOG_STYLE_MSGBOX, "a",string, "a", "a");
Reply
#7

Quote:
Originally Posted by CharlieBrown
Посмотреть сообщение
pawn Код:
new string[500];
strins(string,"asd\nasda\n",strlen(string));
strins(string,"asd\nasda\n",strlen(string));
ShowPlayerDialog(playerid,12, DIALOG_STYLE_MSGBOX, "a",string, "a", "a");
vlw ja tinha criado aqui
Reply
#8

aff ainda ta dando erro

pawn Код:
new fake[256];
            format(fake, sizeof(fake), "{00FF00}Radio_BVJ_1\nRadio BVJ_2\nRadio BVJ_3\nRadio BVJ_4\nRadio BVJ_5\nRadio BVJ_6\nRadio BVJ_7\nRadio BVJ_8\nRadio BVJ_9\nRadio BVJ_10\nRadio BVJ_11\nRadio BVJ_12\nRadio BVJ_13\nRadio BVJ_14\nRadio BVJ_15\nRadio BVJ_16\nRadio BVJ_17\nRadio Avicii_ft_Dan_Tyminski_Hey_Brother\nRadio Bruno_Mars_Treasure\nRadio Demi_Lovato_Heart_Attack\nRadio Britney_Spears_Work_\nRadio Calvin_Harris_I_Need_Your_Love\nRadio Ele_s_quer_saber_de_GTA\nRadio Lady_Gaga_Applause_\nRadio Miley_Cyrus_We_Can_t_Stop\nRadio P_nk_Just_Give_Me_A_Reason_ft_\nRadio Pitbull_Timber_ft_Ke_ha_6_\nRadio Rap_do_GTA_San_Andreas\nDesligar Radio");
            //ShowPlayerDialog(playerid, Pablete, DIALOG_STYLE_LIST, ".:: - Musica - ::.", "{00FF00}Radio_BVJ_1\nRadio BVJ_2\nRadio BVJ_3\nRadio BVJ_4\nRadio BVJ_5\nRadio BVJ_6\nRadio BVJ_7\nRadio BVJ_8\nRadio BVJ_9\nRadio BVJ_10\nRadio BVJ_11\nRadio BVJ_12\nRadio BVJ_13\nRadio BVJ_14\nRadio BVJ_15\nRadio BVJ_16\nRadio BVJ_17\nRadio Avicii_ft_Dan_Tyminski_Hey_Brother\nRadio Bruno_Mars_Treasure\nRadio Demi_Lovato_Heart_Attack\nRadio Britney_Spears_Work_\nRadio Calvin_Harris_I_Need_Your_Love\nRadio Ele_s_quer_saber_de_GTA\nRadio Lady_Gaga_Applause_\nRadio Miley_Cyrus_We_Can_t_Stop\nRadio P_nk_Just_Give_Me_A_Reason_ft_\nRadio Pitbull_Timber_ft_Ke_ha_6_\nRadio Rap_do_GTA_San_Andreas\nDesligar Radio", "Selecionar", "Sair");
            ShowPlayerDialog(playerid, Pablete, DIALOG_STYLE_LIST, ".:: - Musica - ::.", fake, "Selecionar", "Sair");
            return 1;
Reply
#9

Quote:
Originally Posted by Dieguinho
Посмотреть сообщение
aff ainda ta dando erro

pawn Код:
new fake[256];
            format(fake, sizeof(fake), "{00FF00}Radio_BVJ_1\nRadio BVJ_2\nRadio BVJ_3\nRadio BVJ_4\nRadio BVJ_5\nRadio BVJ_6\nRadio BVJ_7\nRadio BVJ_8\nRadio BVJ_9\nRadio BVJ_10\nRadio BVJ_11\nRadio BVJ_12\nRadio BVJ_13\nRadio BVJ_14\nRadio BVJ_15\nRadio BVJ_16\nRadio BVJ_17\nRadio Avicii_ft_Dan_Tyminski_Hey_Brother\nRadio Bruno_Mars_Treasure\nRadio Demi_Lovato_Heart_Attack\nRadio Britney_Spears_Work_\nRadio Calvin_Harris_I_Need_Your_Love\nRadio Ele_s_quer_saber_de_GTA\nRadio Lady_Gaga_Applause_\nRadio Miley_Cyrus_We_Can_t_Stop\nRadio P_nk_Just_Give_Me_A_Reason_ft_\nRadio Pitbull_Timber_ft_Ke_ha_6_\nRadio Rap_do_GTA_San_Andreas\nDesligar Radio");
            //ShowPlayerDialog(playerid, Pablete, DIALOG_STYLE_LIST, ".:: - Musica - ::.", "{00FF00}Radio_BVJ_1\nRadio BVJ_2\nRadio BVJ_3\nRadio BVJ_4\nRadio BVJ_5\nRadio BVJ_6\nRadio BVJ_7\nRadio BVJ_8\nRadio BVJ_9\nRadio BVJ_10\nRadio BVJ_11\nRadio BVJ_12\nRadio BVJ_13\nRadio BVJ_14\nRadio BVJ_15\nRadio BVJ_16\nRadio BVJ_17\nRadio Avicii_ft_Dan_Tyminski_Hey_Brother\nRadio Bruno_Mars_Treasure\nRadio Demi_Lovato_Heart_Attack\nRadio Britney_Spears_Work_\nRadio Calvin_Harris_I_Need_Your_Love\nRadio Ele_s_quer_saber_de_GTA\nRadio Lady_Gaga_Applause_\nRadio Miley_Cyrus_We_Can_t_Stop\nRadio P_nk_Just_Give_Me_A_Reason_ft_\nRadio Pitbull_Timber_ft_Ke_ha_6_\nRadio Rap_do_GTA_San_Andreas\nDesligar Radio", "Selecionar", "Sair");
            ShowPlayerDialog(playerid, Pablete, DIALOG_STYLE_LIST, ".:: - Musica - ::.", fake, "Selecionar", "Sair");
            return 1;
pawn Код:
format(fake, sizeof(fake), "%s{00FF00}Radio_BVJ_1\nRadio BVJ_2\nRadio BVJ_3\nRadio BVJ_4\nRadio BVJ_5\nRadio BVJ_6\nRadio BVJ_7\nRadio BVJ_8\nRadio BVJ_9\nRadio BVJ_10\nRadio BVJ_11\nRadio BVJ_12\nRadio BVJ_13\nRadio BVJ_14\nRadio BVJ_15\nRadio BVJ_16\n",fake);
format(fake, sizeof(fake), "%sRadio BVJ_17\nRadio Avicii_ft_Dan_Tyminski_Hey_Brother\nRadio Bruno_Mars_Treasure\nRadio Demi_Lovato_Heart_Attack\nRadio Britney_Spears_Work_\nRadio Calvin_Harris_I_Need_Your_Love\nRadio Ele_s_quer_saber_de_GTA\nRadio Lady_Gaga_Applause_\nRadio Miley_Cyrus_We_Can_t_Stop",fake);
format(fake, sizeof(fake), "%s\nRadio P_nk_Just_Give_Me_A_Reason_ft_\nRadio Pitbull_Timber_ft_Ke_ha_6_\nRadio Rap_do_GTA_San_Andreas\nDesligar Radio",fake);
ShowPlayerDialog(playerid, Pablete, DIALOG_STYLE_LIST, ".:: - Musica - ::.", fake, "Selecionar", "Sair");
Reply
#10

copilou de boa

mais ta repetindo messagem kkkkk
http://imageshack.com/a/img600/9483/i6j9.png
pawn Код:
if(dialogid == Pablete)
    {
        if(response)
        {
            for(new i=0; i <= MAX_PLAYERS; i++)
            {
                if(IsPlayerConnected(i))
                {
                    new strAUX[256];
                    if(listitem == 0)
                    {
                        PlayAudioStreamForPlayer(playerid, "http://k002.kiwi6.com/hotlink/l5g1895bpk/musica_bvj.mp3");
                        SendClientMessage(playerid,0x33AAFFFF,"| INFO Radio | Voce Esta Ouvindo BVJ 1");

                        format(strAUX, 1000, "%s {FFFF00} Tocou uma mъsica do B.V.J para todos ouvir", GetPlayerNameEx(playerid));
                        SendClientMessageToAll(-1, strAUX);
                    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)