23.04.2012, 12:25
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; }