Server crashes
#6

Now it don't save business when i do Maintenance but i have put it under.

Код:
forward SaveMaintenance();
public SaveMaintenance()
{
	foreach(Player, i)
	{
	    GameTextForPlayer(i, "Scheduled Maintenance..", 5000, 5);
	}

    ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Carrier...", 1);
    SaveCarrier();
    ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Houses...", 1);
	SaveHouses();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Businesses...", 1);
	SaveBiz();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Dynamic Doors...", 1);
	SaveDynamicDoors();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Map Icons...", 1);
	SaveDynamicMapIcons();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Gates...", 1);
	SaveGates();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Event Points...", 1);
	SaveEventPoints();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Paintball Arenas...", 1);
	SavePaintballArenas();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Misc Stuff...", 1);
    SaveStuff();
    ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Office Elevator...", 1);
	SaveElevatorStuff();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Faction Pay...", 1);
	SaveThePay();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Server Stats...", 1);
	SaveServerStats();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Drug System...", 1);
	SaveDrugSystem();
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Force Saving Materials System...", 1);
	SaveMatsSystem();
	
	ABroadCast(COLOR_YELLOW, "{AA3333}Maintenance{FFFF00}: Streamer Plugin Shutting Down...", 1);
	DestroyAllDynamicObjects();
	DestroyAllDynamicPickups();
	DestroyAllDynamic3DTextLabels();
	DestroyAllDynamicCPs();
	DestroyAllDynamicMapIcons();
	DestroyAllDynamicRaceCPs();
	DestroyAllDynamicAreas();

	SetTimer("FinishMaintenance", 10000, false);

	return 1;
}
Reply


Messages In This Thread
Server crashes - by FaZeRs - 27.06.2014, 08:48
Re: Server crashes - by Konstantinos - 27.06.2014, 09:17
Re: Server crashes - by FaZeRs - 29.06.2014, 17:42
Re: Server crashes - by Konstantinos - 29.06.2014, 17:47
Re: Server crashes - by FaZeRs - 29.06.2014, 17:49
Re: Server crashes - by FaZeRs - 30.06.2014, 18:25
Re : Server crashes - by Clad - 30.06.2014, 18:29
Re: Server crashes - by Konstantinos - 30.06.2014, 18:35
Re: Server crashes - by FaZeRs - 30.06.2014, 18:39
Re: Server crashes - by Konstantinos - 30.06.2014, 18:41

Forum Jump:


Users browsing this thread: 2 Guest(s)