29.05.2013, 00:02
Im new to scripting..
It resets to 0 everytime the server restarts
pawn Код:
new total;
new fileToWrite[] = "AccountID.ini",
INI:iniFile = INI_Open(fileToWrite);
INI_WriteInt(iniFile, "total_accs", total++);
INI_Close(iniFile);
format(string,sizeof(string),"%s registered an account. Total: %d",name,playerid,total);
SendClientMessageToAll(-1,string);