[Ajuda] Erro na Tela de Login em Textdraw
#1

Estou com um problema, eu tentei inserir uma tela de login em textdraw na minha gamemode, pro servidor ficar mais bonito e mais robusto e tals, mais o problema й que ela deu alguns erros que eu nгo consigo resolver, pedi para alguns usuбrios me ajudarem, mais continua dando o mesmo problema, se alguйm conseguir solucionar, eu ficarei grato

Eu coloquei algumas linhas que dгo erro tipo (300

Код HTML:
if(!gPlayerLogged[playerid])
{
    if(clickedid == Textdraw6)//logar
    {
        format(Fala,sizeof(Fala),Pasta_Contas,NomePlayer(playerid));
        if(DOF2_FileExists(Fala))
        {
            ForT:logar(playerid,"");
         }
        else ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFF00}ERRO", "{FF0000}* Vocк Nao Tem Uma Conta !", "OK","");
    }
    else if(clickedid == Textdraw8)
    {//Registrar
        format(Fala,sizeof(Fala),Pasta_Contas,NomePlayer(playerid));
        if(!DOF2_FileExists(Fala))
        {
            ForT:registrar(playerid,"");
        }
        else ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFF00}ERRO", "{FF0000}* Vocк Ja Tem Uma Conta !", "OK","");
    }
    else if(clickedid == Textdraw10)
    {//Regras
           ForT:regras(playerid,"");
    }
    else if(clickedid == Textdraw13)
    {//Organizaзхes
        ForT:infoserver(playerid,"");
2987    }
2988    else if(clickedid == Textdraw15)
    {//Informaзхes+
        ForT:helpers(playerid);
    }
 2991   else if(clickedid == Textdraw13)
 2992   {//Sair
         for(new x; x != MAX_TEXT_DRAWS; x++)
 2994        {
             TextDrawHideForPlayer(playerid, Text:x);
        }
2998        Kick(playerid);
2999        return 1;
    }
3001    if(clickedid == Text:INVALID_TEXT_DRAW)
    {
3003        if(GetPVarInt(playerid, "vMochila") && !GetPVarInt(playerid, "guardando"))
        {
3005            HideMochila(playerid);
        }
3007        if(GetPVarInt(playerid, "vportamala") && !GetPVarInt(playerid, "guardando"))
        {
3009            HidePortaMala(playerid);
        }
    }
 3012   if(GetPVarInt(playerid, "skinc_active") == 0) return 0;
 3013   if(clickedid == Text:INVALID_TEXT_DRAW)
    {
        DestroySelectionMenu(playerid);
        SetPVarInt(playerid, "skinc_active", 0);
        PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
        return 1;
    }
    return 1;
}
Код:
(2960) : error 010: invalid function or declaration
(2962) : error 010: invalid function or declaration
(2965) : error 010: invalid function or declaration
2968) : error 054: unmatched closing brace ("}")
(2969) : error 010: invalid function or declaration
(2971) : error 010: invalid function or declaration
(2974) : error 010: invalid function or declaration
(2977) : error 054: unmatched closing brace ("}")
(2978) : error 010: invalid function or declaration
(2980) : error 010: invalid function or declaration
(2983) : error 054: unmatched closing brace ("}")
(2984) : error 010: invalid function or declaration
(2987) : error 054: unmatched closing brace ("}")
(2988) : error 010: invalid function or declaration
(2991) : error 054: unmatched closing brace ("}")
(2992) : error 010: invalid function or declaration
(2994) : error 010: invalid function or declaration
(2998) : error 021: symbol already defined: "KickBPS"
(2999) : error 010: invalid function or declaration
(3001) : error 010: invalid function or declaration
(3003) : error 010: invalid function or declaration
(3005) : error 021: symbol already defined: "HideMochila"
n(3007) : error 010: invalid function or declaration
(3009) : error 021: symbol already defined: "HidePortaMala"
(3012) : error 010: invalid function or declaration
(3013) : error 010: invalid function or declaration

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

Erro: 010: invalid function or declaration
Explicaзгo: Funзгo invбlida.

Erro: 054: unmatched closing brace ("}")
Explicaзгo: Esqueceu de fechar alguma chave.

Erro: 021: symbol already defined: "KickBPS"
A funзгo jб foi definida. Й sу excluir.
Reply
#3

Jб fechei jб exclui e dб o mesmo erro.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)