Account system problems..
#5

Make sure that this:

pawn Код:
new pInfo[MAX_PLAYERS][PlayerInfo];
Is below the:

pawn Код:
enum PlayerInfo
{
    Pass[129],
    Adminlevel,
    VIPlevel,
    Money,
    Scores,
    Kills,
    Deaths
}
So, it should look like this:

pawn Код:
enum PlayerInfo
{
    Pass[129],
    Adminlevel,
    VIPlevel,
    Money,
    Scores,
    Kills,
    Deaths
}
new pInfo[MAX_PLAYERS][PlayerInfo];

public loadaccount_user(playerid, name[], value[])
{
    INI_String("Password", pInfo[playerid][Pass],129);
    INI_Int("AdminLevel",pInfo[playerid][Adminlevel]);
    INI_Int("VIPLevel",pInfo[playerid][VIPlevel]);
    INI_Int("Money",pInfo[playerid][Money]);
    INI_Int("Scores",pInfo[playerid][Scores]);
    INI_Int("Kills",pInfo[playerid][Kills]);
    INI_Int("Deaths",pInfo[playerid][Deaths]);
    return 1;
}
Reply


Messages In This Thread
Account system problems.. - by Proph3t - 19.09.2013, 16:51
Re: Account system problems.. - by DanishHaq - 19.09.2013, 16:54
Re: Account system problems.. - by Konstantinos - 19.09.2013, 16:55
Re: Account system problems.. - by Proph3t - 19.09.2013, 16:58
Re: Account system problems.. - by DanishHaq - 19.09.2013, 17:01
Re: Account system problems.. - by Proph3t - 19.09.2013, 17:04
Re: Account system problems.. - by DanishHaq - 19.09.2013, 17:06
Re: Account system problems.. - by Proph3t - 19.09.2013, 17:07
Re: Account system problems.. - by EiresJason - 19.09.2013, 17:08
Re: Account system problems.. - by DanishHaq - 19.09.2013, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)