y_ini problem
#1

I'm trying to define my password as INI_String but it won't work but as INI_Int it would. What is the problem here?

pawn Код:
enum pInfo
{
    pPass,
    pCash,
    pAdmin,
    pKills,
    pDeaths
}
new PlayerInfo[MAX_PLAYERS][pInfo];

INI_String("Password",PlayerInfo[playerid][pPass]);
Reply
#2

Change pPass in your enum to pPass[MAX SIZE OF STRING HERE]
If you're using Whirlpool hash, then use 129 as the max size.
Reply
#3

Thanks, fixed it!
+REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)