Problem with save file
#1

Hello,i've a problem with a save some stats in a fine.I used this code to save the total N° of players kills.

Here is:

pawn Код:
new TotalKills;
OnGameModeInit:

pawn Код:
TotalKills = dini_Int("/LOGS/sestats.txt","TotalKills");
OnPlayerDeath:

pawn Код:
TotalKills++;
The problem is,it logs the kills but if i restart the server,the Players Kills Stats are set to 0.How to fix this and save it in a file?
Reply


Messages In This Thread
Problem with save file - by Face9000 - 16.01.2012, 09:20
Re: Problem with save file - by Face9000 - 16.01.2012, 10:13
Re: Problem with save file - by Wesley221 - 16.01.2012, 10:31
Re: Problem with save file - by Jaxson - 16.01.2012, 10:35
Re: Problem with save file - by thimo - 16.01.2012, 10:35
Re: Problem with save file - by Face9000 - 16.01.2012, 10:39
Re: Problem with save file - by Wesley221 - 16.01.2012, 10:40
Re: Problem with save file - by Jaxson - 16.01.2012, 10:41
Re: Problem with save file - by Face9000 - 16.01.2012, 10:43
Re: Problem with save file - by Jaxson - 16.01.2012, 10:45

Forum Jump:


Users browsing this thread: 2 Guest(s)