Undefined symbol "INI_String" but I have #include <YSI\y_ini>
#1

The title says it all, the script doesn't recognize INI_String but I have included y_ini before the callback that uses INI_String.
Reply
#2

INI_String wasn't created for me as well, though what are you using it for? To load files use parsefile
Reply
#3

I have this:
Code:
public LoadUserData(playerid, name[], value[])
{
    INI_String("Password", PlayerInfo[playerid][Password]);
    INI_Int("Admin", PlayerInfo[playerid][Admin]);
    INI_Int("Firstname", PlayerInfo[playerid][Firstname]);
    INI_Int("Lastname", PlayerInfo[playerid][Lastname]);
    INI_Int("Age", PlayerInfo[playerid][Age]);
    INI_Int("Gender", PlayerInfo[playerid][Gender]);
    INI_Int("Money", PlayerInfo[playerid][Money]);
    INI_Int("Bank", PlayerInfo[playerid][Bank]);
    INI_Int("Level", PlayerInfo[playerid][Level]);
    INI_Int("Registered", PlayerInfo[playerid][Registered]);
    return 1;
}
Reply
#4

Anyone know the solution, please?
Reply
#5

Quote:
Originally Posted by Jack_Leslie
View Post
Anyone know the solution, please?
In relation to ******'s post which helped me. Write as a string. Load as an integer.
Reply
#6


EDIT:
Solved, thanks Kush,
Reply
#7

No problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)