24.06.2013, 18:47
I added this on OnGameModeExit:
It just doesn't work if I close the server or restart (GMX).
If I use it on my /forcesave command, it works like charm. What could be the cause?
PHP Code:
mysql_function_query(gHandle, "SELECT * FROM houses", false, "SaveAllHouses", "");
mysql_function_query(gHandle, "SELECT * FROM businesses", false, "SaveAllBizz", "");
mysql_function_query(gHandle, "SELECT * FROM factions", false, "SaveAllFactions", "");
If I use it on my /forcesave command, it works like charm. What could be the cause?