[AJUDA] ERROS AO CRIA /TUTORIAL
#1

bom eu crio essi comando :
// tutorial
if (strcmp("/tutorial", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"T UTORIAL:","Nosso Servido Contem 4 Facзхes, 2 Policia e 1 Agencia de Reporter\r\n Facзхes - Comando Vermelho ( CV ) Primeiro Comando Puro ( PCC ) Terceiro Comando Puro ( TCP ) Amigos dos Amigos ( ADA ) \r\n AS FACЗХES SAO RIVAIS ENTAO E TIPO CV + PCC VS TCP + ADA \r\n AS POLICIAS SAO CONTRA TODAS AS FACЗХES MENOS CONTRA OS REPORTERES RFB \r\n Ninguem Pode Matar um Reporter quando eli esta Trabalhando ( quando eli esta Trabalhando Fica com o Nick Roxo ) \r\n os Reporteres Sao Responsaveis Por Grava Guerra entri Facзхes e Policia \r\n Qualquer Coisa Consulte um Adm ou Digite /Regras","Ok", "Cancelar");
return 1;
}


_________________

e da essis erros

____

C:\Documents and Settings\Elian Sampaio\Desktop\terminadokkkkk\filterscripts\FS1.p wn(1497) : error 075: input line too long (after substitutions)
C:\Documents and Settings\Elian Sampaio\Desktop\terminadokkkkk\filterscripts\FS1.p wn(149 : error 037: invalid string (possibly non-terminated string)
C:\Documents and Settings\Elian Sampaio\Desktop\terminadokkkkk\filterscripts\FS1.p wn(149 : error 017: undefined symbol "Nosso"
C:\Documents and Settings\Elian Sampaio\Desktop\terminadokkkkk\filterscripts\FS1.p wn(149 : error 017: undefined symbol "Servido"
C:\Documents and Settings\Elian Sampaio\Desktop\terminadokkkkk\filterscripts\FS1.p wn(149 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply
#2

Ta ae!
pawn Код:
//Topo GM
new Tuto[7][128] = {
{"Nosso Servido Contem 4 Facзхes, 2 Policia e 1 Agencia de Reporter\r"},
{"Facзхes - Comando Vermelho ( CV ) Primeiro Comando Puro ( PCC ) Terceiro Comando Puro ( TCP ) Amigos dos Amigos ( ADA ) \r"},
{"AS FACЗХES SAO RIVAIS ENTAO E TIPO CV + PCC VS TCP + ADA \r"},
{"AS POLICIAS SAO CONTRA TODAS AS FACЗХES MENOS CONTRA OS REPORTERES RFB \r"},
{"Ninguem Pode Matar um Reporter quando eli esta Trabalhando ( quando eli esta Trabalhando Fica com o Nick Roxo ) \r"},
{"os Reporteres Sao Responsaveis Por Grava Guerra entri Facзхes e Policia \r"},
{"Qualquer Coisa Consulte um Adm ou Digite /Regras"}
};

//Comando
if (strcmp("/tutorial", cmdtext, true, 10) == 0)
{
    new string[600];
    for(new i = 0; i < sizeof(Tuto); i++)
        format(string, sizeof(string), "%s\n - %s", string, Tuto[i]);
       
    return ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"T UTORIAL:",string,"Ok", "Cancelar");
}
Reply
#3

Quote:
Originally Posted by paulor
Посмотреть сообщение
Ta ae!
pawn Код:
//Topo GM
new Tuto[7][128] = {
{"Nosso Servido Contem 4 Facзхes, 2 Policia e 1 Agencia de Reporter\r"},
{"Facзхes - Comando Vermelho ( CV ) Primeiro Comando Puro ( PCC ) Terceiro Comando Puro ( TCP ) Amigos dos Amigos ( ADA ) \r"},
{"AS FACЗХES SAO RIVAIS ENTAO E TIPO CV + PCC VS TCP + ADA \r"},
{"AS POLICIAS SAO CONTRA TODAS AS FACЗХES MENOS CONTRA OS REPORTERES RFB \r"},
{"Ninguem Pode Matar um Reporter quando eli esta Trabalhando ( quando eli esta Trabalhando Fica com o Nick Roxo ) \r"},
{"os Reporteres Sao Responsaveis Por Grava Guerra entri Facзхes e Policia \r"},
{"Qualquer Coisa Consulte um Adm ou Digite /Regras"}
};

//Comando
if (strcmp("/tutorial", cmdtext, true, 10) == 0)
{
    new string[600];
    for(new i = 0; i < sizeof(Tuto); i++)
        format(string, sizeof(string), "%s\n - %s", string, Tuto[i]);
       
    return ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"T UTORIAL:",string,"Ok", "Cancelar");
}
Evite criar variбveis desnecessбrias =)
pawn Код:
if (strcmp("/tutorial", cmdtext, true, 10) == 0)
{
    new Car[580];
    strcat(Car, "Nosso Servido Contem 4 Facзхes, 2 Policia e 1 Agencia de Reporter\r\n");
    strcat(Car, "Facзхes - Comando Vermelho ( CV ) Primeiro Comando Puro ( PCC ) Terceiro Comando Puro ( TCP ) Amigos dos Amigos ( ADA ) \r\n");
    strcat(Car, "AS FACЗХES SAO RIVAIS ENTAO E TIPO CV + PCC VS TCP + ADA \r\n");
    strcat(Car, "AS POLICIAS SAO CONTRA TODAS AS FACЗХES MENOS CONTRA OS REPORTERES RFB \r\n");
    strcat(Car, "Ninguem Pode Matar um Reporter quando eli esta Trabalhando ( quando eli esta Trabalhando Fica com o Nick Roxo ) \r\n");
    strcat(Car, "os Reporteres Sao Responsaveis Por Grava Guerra entri Facзхes e Policia \r\n");
    strcat(Car, "Qualquer Coisa Consulte um Adm ou Digite /Regras");
    ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"T UTORIAL:", Car,"Ok", "Cancelar");
    return 1;
}
Reply
#4

Quote:
Originally Posted by [O.z]Caroline
Посмотреть сообщение
Evite criar variбveis desnecessбrias =)
pawn Код:
if (strcmp("/tutorial", cmdtext, true, 10) == 0)
{
    new Car[580];
    strcat(Car, "Nosso Servido Contem 4 Facзхes, 2 Policia e 1 Agencia de Reporter\r\n");
    strcat(Car, "Facзхes - Comando Vermelho ( CV ) Primeiro Comando Puro ( PCC ) Terceiro Comando Puro ( TCP ) Amigos dos Amigos ( ADA ) \r\n");
    strcat(Car, "AS FACЗХES SAO RIVAIS ENTAO E TIPO CV + PCC VS TCP + ADA \r\n");
    strcat(Car, "AS POLICIAS SAO CONTRA TODAS AS FACЗХES MENOS CONTRA OS REPORTERES RFB \r\n");
    strcat(Car, "Ninguem Pode Matar um Reporter quando eli esta Trabalhando ( quando eli esta Trabalhando Fica com o Nick Roxo ) \r\n");
    strcat(Car, "os Reporteres Sao Responsaveis Por Grava Guerra entri Facзхes e Policia \r\n");
    strcat(Car, "Qualquer Coisa Consulte um Adm ou Digite /Regras");
    ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"T UTORIAL:", Car,"Ok", "Cancelar");
    return 1;
}
kkkk strcat passou batido agora! nem pensei em usar..
Reply
#5

caroline aqui quando eu fui compila fico sem sucess como se tivese sem chaves como arrumo isso ? '-'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)