26.07.2011, 12:07
Hello,
Today, I start to work on my server statistics, but I have a problem with this.. I don't know how to "refresh" it. I explain, I want to count the number of executions of the gamemode, so, sampserver.exe. So, I have creat this, In OnGameModeInit:
X is the number of reboots, but, I don't know why, that don't refresh it, that always show "Reboots=0". Anyone can help me? Where I've make a mistake?
Thank's.
Today, I start to work on my server statistics, but I have a problem with this.. I don't know how to "refresh" it. I explain, I want to count the number of executions of the gamemode, so, sampserver.exe. So, I have creat this, In OnGameModeInit:
pawn Код:
new x;
format(file, sizeof(file), "/Server/TimeOnline.ini");
dini_IntSet(file, "Reboots", x);
x++;
Thank's.