Y_INI - error 017: undefined symbol "INI_String"
#2

Код:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
    INI_Int("Pass", pInfo[playerid][pPass]); // This
    INI_Int("IP", pInfo[playerid][pIP]); // And this
    INI_Int("Money", pInfo[playerid][pMoney]);
    INI_Int("Score", pInfo[playerid][pScore]);
    INI_Int("Kills", pInfo[playerid][pKills]);
    INI_Int("Deaths", pInfo[playerid][pDeaths]);
    INI_Int("Level", pInfo[playerid][pLevel]);
    INI_Int("VIP", pInfo[playerid][pVIP]);
    return 1;
}
That's wrong.
You should load the password and ip as an integer, not string.

Y_INI saves as a string and loads as an integer.
Reply


Messages In This Thread
Y_INI - error 017: undefined symbol "INI_String" - by Mitchelll - 08.11.2014, 06:17
Re: Y_INI - error 017: undefined symbol "INI_String" - by Sabur - 08.11.2014, 06:21
Re: Y_INI - error 017: undefined symbol "INI_String" - by Mitchelll - 08.11.2014, 07:11
Re: Y_INI - error 017: undefined symbol "INI_String" - by Sabur - 08.11.2014, 07:17

Forum Jump:


Users browsing this thread: 1 Guest(s)