SA-MP Forums Archive
[Ajuda] podem me ajudar com error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] podem me ajudar com error (/showthread.php?tid=617829)



podem me ajudar com error - caiomali06 - 27.09.2016

ERROS:
: error 037: invalid string (possibly non-terminated string)
: error 017: undefined symbol "FFFFFF":\GameMod - FB [ATT]\gamemodes\FB.pwn(11225) : warning 217: loose indentation
: error 017: undefined symbol "Seja"
: fatal error 107: too many error messages on one line

CODIGO:

case DIALOG_LOGIN:
{

if(dialogid == DIALOG_LOGIN)
{


if(response)
{


new String[500];
if(!strlen(inputtext))
{

format(String, sizeof(String), "{FFFFFF} Seja bem vindo novamente ao Servidor \n\n\
- Seu Nick: {0000FF}%s \n\n\
{


Digite sua senha e cliquem em Continuar!", GetPlayerName(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FFFFFF} Acessando sua Conta", String, "Continuar", "Sair");
Player[playerid][pMaxTentativas] --;
format(String,128, "[ERRO] Vocк errou a senha de seguranзa, ainda tem %d tentativas.", Player[playerid][pMaxTentativas]);
SCM(playerid, COR_ERRO, String);
return 1;
}


Re: podem me ajudar com error - MBJ - 27.09.2016

PHP код:
case DIALOG_LOGIN:
{
    if(
response)
    {
        new 
String[500];
        if(!
strlen(inputtext))
        {
            
format(Stringsizeof(String), "{FFFFFF} Seja bem vindo novamente ao Servidor \n\n- Seu Nick:{0000FF}%s\n\nDigite sua senha e cliquem em Continuar!"GetPlayerName(playerid));
            
ShowPlayerDialog(playeridDIALOG_LOGINDIALOG_STYLE_PASSWORD"{FFFFFF} Acessando sua Conta"String"Continuar""Sair");
            
Player[playerid][pMaxTentativas]--;
            
format(String,128"[ERRO] Vocк errou a senha de seguranзa, ainda tem %d tentativas."Player[playerid][pMaxTentativas]);
            
SCM(playeridCOR_ERROString);
            return 
1;
        }
    }