06.12.2014, 10:22
Bueno resulta que si no agrego stock me da warning.
Dejo codigo:
Dejo codigo:
Код:
stock SaveServerStats()
{
new sz_FileStr[256], File: i_FileHandle = fopen(SERVER_STATS, io_write);
format(sz_FileStr, sizeof(sz_FileStr), "%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d", TotalLogin, TotalConnect, TotalAutoBan, TotalRegister,MaxPlayersConnected,MPDay,MPMonth,MPYear,MPHour,MPMinute,TotalUptime);
fwrite(i_FileHandle, sz_FileStr);
#undef SERVER_STATS
return fclose(i_FileHandle);
}


