Y_INI Values
#4

Quote:
Originally Posted by SpankMe2
Посмотреть сообщение
saving
pawn Код:
new INI:File = INI_Open(UserPath(playerid));
    INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
INI_WriteInt(File,"Level",PlayerInfo[playerid][pLevel]

loading
pawn Код:
INI_Int("Password",PlayerInfo[playerid][pPass]);
    INI_Int("Admin Level",PlayerInfo[playerid][pAdmin]);
    INI_Int("Admin Level",PlayerInfo[playerid][pLevel]);
You have pLevel, and pAdmin named the same thing in the users file.

pawn Код:
INI_Int("Password",PlayerInfo[playerid][pPass]);
    INI_Int("Admin Level",PlayerInfo[playerid][pAdmin]);
    INI_Int("Player Level",PlayerInfo[playerid][pLevel]);
Try that, i may be wrong, but that is a small error could be the fix.
Reply


Messages In This Thread
Y_INI Values - by SpankMe2 - 30.08.2011, 18:12
Re: Y_INI Values - by [MWR]Blood - 30.08.2011, 18:14
Re: Y_INI Values - by SpankMe2 - 30.08.2011, 18:27
Re: Y_INI Values - by SantarioLeone - 30.08.2011, 18:34
Re: Y_INI Values - by SpankMe2 - 30.08.2011, 18:38
Re: Y_INI Values - by SantarioLeone - 30.08.2011, 18:41
Re: Y_INI Values - by SpankMe2 - 30.08.2011, 18:43
Re: Y_INI Values - by SpankMe2 - 30.08.2011, 18:45
Re: Y_INI Values - by SantarioLeone - 30.08.2011, 18:48
Re: Y_INI Values - by Wesley221 - 30.08.2011, 18:55

Forum Jump:


Users browsing this thread: 1 Guest(s)