[Ajuda] Alguns erros chatos.
#6

Код:
public OnPlayerConnect(playerid) 
{
    new arquivo[40];
    new name[MAX_PLAYER_NAME]; // erro esta aqui, voce nao definiu a variavel "name"
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    format(arquivo, 40, "Contas/%s.ini", name);
    if (DOF2_FileExists(arquivo)) 
    {
         ShowPlayerDialog(playerid, DIALOG_LOGAR, DIALOG_STYLE_PASSWORD, "Logar", "Vocк jб estб registrado em nosso banco de dados, digite sua senha para logar.", "Entrar", "Sair");
    } 
    else 
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT, "Registro", "Vocк ainda nгo estб registrado em nosso banco de dados, digite uma senha para poder registrar.", "Confirmar", "Cancelar");
        Spawnou[playerid] = false;
        return true;
    }
    return 1;
}
Testa ai amigao . Aguardando...
Reply


Messages In This Thread
Alguns erros chatos. - by sofina - 24.01.2013, 13:38
Re: Alguns erros chatos. - by Wellington1999 - 24.01.2013, 14:03
Re: Alguns erros chatos. - by Smoking_Script - 24.01.2013, 14:12
Re: Alguns erros chatos. - by Mteck - 24.01.2013, 14:15
Re: Alguns erros chatos. - by Smoking_Script - 24.01.2013, 14:16
Re: Alguns erros chatos. - by Copom_policia - 24.01.2013, 14:21
Re: Alguns erros chatos. - by sofina - 24.01.2013, 15:19
Re: Alguns erros chatos. - by sofina - 24.01.2013, 16:17
Re: Alguns erros chatos. - by JonathanFeitosa - 24.01.2013, 16:21
Re: Alguns erros chatos. - by Schocc - 24.01.2013, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)