INI help
#10

Debugged it, and there's something wrong with LoadUser_data, it is not showing any print messages in LoadUser_data, here is the function INI_ParseFile and the LoadUser_data stock below:
Код:
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);

stock LoadUser_data(playerid,name[],value[])
{
print("LoadUser: Before Score");
INI_Int("Score", PlayerInfo[playerid][pScore]);
print("LoadUser: After Score");
INI_Int("Admin", PlayerInfo[playerid][pAdmin]);
print("LoadUser: After Admin");
return 1;
}
Reply


Messages In This Thread
INI help - by Tomer!.$ - 21.04.2012, 15:01
Re : INI help - by Tomer!.$ - 21.04.2012, 17:30
Re: INI help - by Ainseri - 21.04.2012, 18:45
Re: INI help - by Tomer!.$ - 21.04.2012, 18:52
Re: INI help - by Ainseri - 21.04.2012, 18:55
Re: INI help - by Tomer!.$ - 22.04.2012, 12:51
Re: INI help - by Tomer!.$ - 22.04.2012, 14:05
Re: INI help - by Tomer!.$ - 22.04.2012, 15:46
Re: INI help - by Tomer!.$ - 22.04.2012, 17:47
Re: INI help - by Tomer!.$ - 23.04.2012, 12:25

Forum Jump:


Users browsing this thread: 7 Guest(s)