Dialog Register/Login Bug ! D:
#1

hello i add new stuff on my server, i think it work bug ... * LuxAdmin

after i connect to the server, it shot Register Dialog, but i already Registerd

register dialog showed,



and after i click on register dialog, nothing showed



pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(AccInfo[playerid][Registered] == 0 && ServerInfo[MustRegister] == 1 && (!IsPlayerNPC(playerid))){
     new rstring[256];
    format(rstring,256,"Welcome %s\n\nEnter You Password To Connect To This Server:\n[0.3x]Freeroam+Advance[0.3x]",pName(playerid));
    ShowPlayerDialog(playerid,DIALOGID+66,DIALOG_STYLE_INPUT,"Register Account",rstring,"Register","Quit");
    return 0;
    }
    // Request Login
      new login[256];
    if(ServerInfo[MustLogin] == 1 && AccInfo[playerid][Registered] == 1 && AccInfo[playerid][LoggedIn] == 0 && (!IsPlayerNPC(playerid))){
    format(login,256,"Welcome Back %s\n\nEnter You Password To Connect To This Server:\n[0.3x]Freeroam+Advance[0.3x]",pName(playerid));
    ShowPlayerDialog(playerid,DIALOGID+67,DIALOG_STYLE_PASSWORD,"Login Account",login,"Login","Quit");
    return 0;
    }
  return 1;
}
i think i want use
pawn Код:
if (udb_Create(PlayerName2(playerid)))
pawn Код:
if (!udb_Create(PlayerName2(playerid)))
but i didt know hot to make that D:

Sorry for bad english

NO BUG WITH DIALOGID !!
Reply


Messages In This Thread
Dialog Register/Login Bug ! D: - by Guest123 - 12.05.2013, 07:30
Re: Dialog Register/Login Bug ! D: - by BossZk - 12.05.2013, 07:39
Re: Dialog Register/Login Bug ! D: - by Guest123 - 12.05.2013, 07:45
Re: Dialog Register/Login Bug ! D: - by Guest123 - 12.05.2013, 07:58
Re: Dialog Register/Login Bug ! D: - by Kwarde - 12.05.2013, 09:30
Re: Dialog Register/Login Bug ! D: - by Guest123 - 12.05.2013, 09:54
Re: Dialog Register/Login Bug ! D: - by Kwarde - 12.05.2013, 12:39

Forum Jump:


Users browsing this thread: 1 Guest(s)