Login Problems
#4

Just a minor modification; does it work?

pawn Код:
if(strcmp(inputtext, escpass, false) == 0)
            {
                // The field starts here with 1, because the field 'Name' = 0, and we already have the name in a variable.
                format(UserStats[playerid][Password], 32, "%s", field[1]);
                UserStats[playerid][Admin] = strval(field[2]);
                UserStats[playerid][Money] = strval(field[3]);
                UserStats[playerid][ppos_x] = strval(field[4]);
                UserStats[playerid][ppos_y] = strval(field[5]);
                UserStats[playerid][ppos_z] = strval(field[6]);
                GivePlayerCash(playerid, UserStats[playerid][Money]);
                SetPlayerPos(playerid, UserStats[playerid][ppos_x], UserStats[playerid][ppos_y], UserStats[playerid][ppos_z]);
            }
Reply


Messages In This Thread
Login Problems - by Anthonyx3' - 09.01.2011, 03:12
Re: Login Problems - by California - 09.01.2011, 05:04
Re: Login Problems - by Anthonyx3' - 09.01.2011, 05:16
Re: Login Problems - by California - 09.01.2011, 06:24
Re: Login Problems - by Calgon - 09.01.2011, 07:11

Forum Jump:


Users browsing this thread: 1 Guest(s)