Saving race time not working.
#5

Quote:
Originally Posted by Schneider
Посмотреть сообщение
Well, if they are correctly saved, they shouldn't appear as zero's in the messages.. So somehow they are still '0'.

Are you also sure these variables are not reset in the SavePlayer(playerid); function?
This is my saving:
pawn Код:
stock SavePlayer(playerid)
{
        new INI:file = INI_Open(Path(playerid));
    INI_SetTag(file,"Player's Data");
    INI_WriteInt(file,"AdminLevel",pInfo[playerid][Adminlevel]);
    INI_WriteInt(file,"VIPLevel",pInfo[playerid][VIPlevel]);
    INI_WriteInt(file,"Money",GetPlayerMoney(playerid));
    INI_WriteInt(file,"Scores",GetPlayerScore(playerid));
    INI_WriteInt(file,"Kills",pInfo[playerid][Kills]);
    INI_WriteInt(file,"Deaths",pInfo[playerid][Deaths]);
    INI_WriteInt(file,"SultanMiliSeconds",pInfo[playerid][SultanMiliSeconds]);
    INI_WriteInt(file,"SultanSeconds",pInfo[playerid][SultanSeconds]);
    INI_WriteInt(file,"SultanMinutes",pInfo[playerid][SultanMinutes]);
    INI_Close(file);
}
I don't get it, where is the problem -.-
Reply


Messages In This Thread
Saving race time not working. - by finelaq - 19.01.2015, 18:54
Re: Saving race time not working. - by Schneider - 19.01.2015, 19:00
Re: Saving race time not working. - by finelaq - 19.01.2015, 19:03
Re: Saving race time not working. - by Schneider - 19.01.2015, 19:05
Re: Saving race time not working. - by finelaq - 19.01.2015, 19:12
Re: Saving race time not working. - by Schneider - 19.01.2015, 19:22
Re: Saving race time not working. - by finelaq - 19.01.2015, 19:27
Re: Saving race time not working. - by Schneider - 19.01.2015, 19:34
Re: Saving race time not working. - by finelaq - 19.01.2015, 19:37
Re: Saving race time not working. - by Schneider - 19.01.2015, 19:39

Forum Jump:


Users browsing this thread: 5 Guest(s)