[PROB] Login Dialog LARP
#3

Nгo seria gPlayerAccount[playerid] == 1?
pawn Код:
if(gPlayerAccount[playerid] == 1)//Aqui
 {
            new loginstring[128];
            new loginname[64];
            GetPlayerName(playerid,loginname,sizeof(loginname));
            format(loginstring,sizeof(loginstring),"Bem-Vindo, %s\nEste Nome esta Registrado.\nVoce pode se logar agora:",loginname);
            ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"Logar",loginstring,"Logar","Sair");
            //SendClientMessage(playerid, COLOR_LIGHTRED, "Logue Imediatamente!");
        }
        else if(gPlayerAccount[playerid] == 0)
               {
       
            SendClientMessage(playerid, COLOR_YELLOW2, "Los Santos: Imigraзгo pediu os documentos para o cadastro.");
            new regstring[128];
            new regname[64];
            GetPlayerName(playerid,regname,sizeof(regname));
            format(regstring,sizeof(regstring),"Bem-Vindo, %s\nVoce nao tem uma Conta.\nPor favor se Registre:",regname);
            ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Registrar",regstring,"Registrar","Sair");
        }
Reply


Messages In This Thread
[PROB] Login Dialog LARP - by GuikBretas - 23.12.2010, 00:13
Re: [PROB] Login Dialog LARP - by Katros - 23.12.2010, 14:47
Re: [PROB] Login Dialog LARP - by faeldk - 23.12.2010, 14:51
Re: [PROB] Login Dialog LARP - by GuikBretas - 23.12.2010, 23:54
Re: [PROB] Login Dialog LARP - by -GooGle- - 24.12.2010, 00:24
Re: [PROB] Login Dialog LARP - by GuikBretas - 24.12.2010, 20:30
Re: [PROB] Login Dialog LARP - by Ricop522 - 24.12.2010, 21:37
Re: [PROB] Login Dialog LARP - by -GooGle- - 24.12.2010, 22:31

Forum Jump:


Users browsing this thread: 1 Guest(s)