[Ajuda] Me ajuda a Arrumar estes erros.
#1

Meu GM ta me fudendo ja ta dando 4 erros e nao sei o que й me ajudem por favor.

Quote:

C:\Users\Ivan Mota\Desktop\SERVIDOR\pawno\include\streamer.inc(2 56) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
C:\Users\Ivan Mota\Desktop\SERVIDOR\gamemodes\BVC.pwn(2815) : warning 219: local variable "loginstring" shadows a variable at a preceding level
C:\Users\Ivan Mota\Desktop\SERVIDOR\gamemodes\BVC.pwn(2816) : warning 219: local variable "loginname" shadows a variable at a preceding level
C:\Users\Ivan Mota\Desktop\SERVIDOR\gamemodes\BVC.pwn(9381) : warning 219: local variable "loginstring" shadows a variable at a preceding level
C:\Users\Ivan Mota\Desktop\SERVIDOR\gamemodes\BVC.pwn(9382) : warning 219: local variable "loginname" shadows a variable at a preceding level
C:\Users\Ivan Mota\Desktop\SERVIDOR\gamemodes\BVC.pwn(9384) : error 037: invalid string (possibly non-terminated string)
C:\Users\Ivan Mota\Desktop\SERVIDOR\gamemodes\BVC.pwn(9384) : error 029: invalid expression, assumed zero
C:\Users\Ivan Mota\Desktop\SERVIDOR\gamemodes\BVC.pwn(9384) : error 029: invalid expression, assumed zero
C:\Users\Ivan Mota\Desktop\SERVIDOR\gamemodes\BVC.pwn(9384) : fatal error 107: too many error messages on one line

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


4 Errors.

linhas aqui

Quote:

new loginstring[256];
new loginname[64];
GetPlayerName(playerid,loginname,sizeof(loginname) );
format(loginstring,sizeof(loginstring)," {00FF00}Brasil {FFFF00}Vitual{0000FF}City {FF0000}RPG{00FF00}\n***************************** ******************\n\n{00FF00}>> {F5DEB3}Conta: {FFFFFF}%s\n{00FF00}>> {F5DEB3}Status: {00FF00}Registrada{FFFFFF}\n\nColoque sua senha abaixo:",loginname);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_PASSWORD, "{00FF04}{00FF00}B{FFFF00}V{0044FF}C{9EB5FF}- Logando:",loginstring,"Logar-se","Sair");
return 1;
}
OnPlayerLogin(playerid, inputtext);
/*format(gstring,sizeof(gstring),"/logar %s",inputtext);
OnPlayerCommandText(playerid,gstring);
TextDrawShowForPlayer(playerid, entrada);*/
return 1;
}
return 1;
}

Reply
#2

Posta as linhas rapaz.
Ninguem aqui tem bola de cristal...
Reply
#3

[*QUOTE][*/QUOTE]
Sem os *
Reply
#4

Ja editei
Reply
#5

Seu Erro
pawn Код:
new loginname[64];
Use assim

pawn Код:
new loginname[MAX_PLAYER_NAME];
Att DonSpeed
Reply
#6

Os 4 erros Continua Don
Reply
#7

Quote:
Originally Posted by Flash92
Посмотреть сообщение
Os 4 erros Continua Don
Marque a linha do erros.
Reply
#8

Й Aqui NA parte que ta a VERMELHO:


Quote:
]new loginstring[256];
new loginname[64];
GetPlayerName(playerid,loginname,sizeof(loginname) );
format(loginstring,sizeof(loginstring),"
{00FF00}Brasil {FFFF00}Vitual{0000FF}City {FF0000}RPG{00FF00}\n***************************** ******************\n\n{00FF00}>> {F5DEB3}Conta: {FFFFFF}%s\n{00FF00}>> {F5DEB3}Status: {00FF00}Registrada{FFFFFF}\n\nColoque sua senha abaixo:",loginname);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_PASSWORD, "{00FF04}{00FF00}B{FFFF00}V{0044FF}C{9EB5FF}- Logando:",loginstring,"Logar-se","Sair");
return 1;
}
OnPlayerLogin(playerid, inputtext);
/*format(gstring,sizeof(gstring),"/logar %s",inputtext);
OnPlayerCommandText(playerid,gstring);
TextDrawShowForPlayer(playerid, entrada);*/
return 1;
}
return 1;
}

Reply
#9

Saquei .
Linha extremamente grande .
pawn Код:
new loginstring[256], loginname[MAX_PLAYER_NAME];
    GetPlayerName(playerid,loginname,sizeof(loginname) );
    format(loginstring,sizeof(loginstring),"    {00FF00}Brasil {FFFF00}Vitual{0000FF}City {FF0000}RPG{00FF00}\n\
                                         ***************************** ******************\n\n{00FF00}>> {F5DEB3}Conta: {FFFFFF}%s\n\
                                                {00FF00}>> {F5DEB3}Status: {00FF00}Registrada{FFFFFF}\n\nColoque sua senha abaixo:"
,loginname);
    ShowPlayerDialog(playerid, 1 , DIALOG_STYLE_PASSWORD, "{00FF04}{00FF00}B{FFFF00}V{0044FF}C{9EB5FF}- Logando:",loginstring,"Logar-se","Sair");
Use deste metodo.
Reply
#10

Resultou VLW.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)