05.12.2013, 17:38
my question is why script is not saving the scores as you can see topic, so why cant?
Codes:
Dialog Response (Register)
Dialog Respone (Login)
Codes:
Код:
enum pInfo { pScores } new PlayerInfo[MAX_PLAYERS][pInfo];
Код:
public LoadUser_data(playerid,name[],value[]) { INI_Int("Scores",PlayerInfo[playerid][pScores]); return 1; }
Код:
INI_WriteInt(File,"Scores",0);
Код:
SetPlayerScore(playerid,PlayerInfo[playerid][pScores]);