Logging in problem
#5

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
Post where you are saving the stats.
....
pawn Код:
if(dialogid == 666)
    {
         if(response)
        {
            new INI:File = INI_Open(UserPath(playerid));

            INI_SetTag(File,"data");
            INI_WriteInt(File,"Password",udb_hash(inputtext));
            INI_WriteInt(File, "Level",PlayerInfo[playerid][pLevel] = 1);
            INI_WriteInt(File, "Respect",PlayerInfo[playerid][pLevel] = 0);
            INI_WriteInt(File, "RP Points",PlayerInfo[playerid][pLevel] = 0);
            INI_WriteInt(File, "Money",PlayerInfo[playerid][pCash] = 0);
            INI_WriteInt(File, "Admin",PlayerInfo[playerid][pAdmin] = 0);
            INI_WriteInt(File, "Vip", PlayerInfo[playerid][pVip] = 0);
            INI_WriteInt(File, "FirstJoined", PlayerInfo[playerid][pFirstJoined] = 0);
            INI_WriteInt(File, "Exp", PlayerInfo[playerid][pExp] = 0);
            INI_WriteInt(File, "Warns", PlayerInfo[playerid][pWarns] = 0);
            INI_WriteInt(File, "Muted", PlayerInfo[playerid][pMuted] = 0);
            INI_WriteInt(File, "MuteTime", PlayerInfo[playerid][pMuteTime] = 0);
            INI_Close(File);
            SCM(playerid, COLOR_RED, "You have registered. You may now spawn.");
            gPlayerLogged[playerid] = 1;
This?
Reply


Messages In This Thread
Logging in problem - by Vrondakis - 17.03.2012, 14:38
Re: Logging in problem - by ReneG - 17.03.2012, 14:42
Re: Logging in problem - by RoleplayEditor - 17.03.2012, 14:43
Re: Logging in problem - by ReneG - 17.03.2012, 14:45
Re: Logging in problem - by Vrondakis - 17.03.2012, 14:49
Re: Logging in problem - by ReneG - 17.03.2012, 14:56
Re: Logging in problem - by Vrondakis - 17.03.2012, 14:59
Re: Logging in problem - by ReneG - 17.03.2012, 15:03
Re: Logging in problem - by Vrondakis - 17.03.2012, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)