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.