16.01.2012, 09:20
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:
OnGameModeInit:
OnPlayerDeath:
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?
Here is:
pawn Код:
new TotalKills;
pawn Код:
TotalKills = dini_Int("/LOGS/sestats.txt","TotalKills");
pawn Код:
TotalKills++;