31.12.2010, 08:45
Sorry about the double post, When you put mysql_close(); in OnGameModeExit() it crashes on /gmx.
Is this a bug?
Is this a bug?
pawn Код:
public OnGameModeExit()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
OnplayerSqlUpdate(i);
}
KillTimer(gate1);
KillTimer(website);
KillTimer(synchup);
KillTimer(weathercheck);
KillTimer(timeud);
KillTimer(upss);
KillTimer(jailtimer);
KillTimer(checktralier);
KillTimer(gpsgps);
KillTimer(changeinterior);
KillTimer(checkrock);
KillTimer(playinghours);
KillTimer(playingdays);
KillTimer(playingmins);
KillTimer(batterytimer);
KillTimer(custompickupsupdate);
KillTimer(accounts);
KillTimer(autoweather);
// mysql_close(); //i commented it cause it was crashing on /gmx
GameModeExit();
return 1;
}