23.12.2012, 00:51
Pronto
Quote:
public OnGameModeExit() { GameModeExitFunc(); //SalvarOrgs(); SalvarVagas(); SalvarPartidos(); KillTimer(FlashTimer); SalvarFamilias(); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { Atualizar(i); } } new v[6]; getdate(v[0], v[1], v[2]); gettime(v[3], v[4], v[5]); print("\n---------------------------------------------------------"); printf("Server Desligado: [%02d/%02d/%d %02d:%02d:%02d]", v[2], v[1], v[0], v[3], v[4], v[5]); print("---------------------------------------------------------\n"); for(new objectid; objectid<F_MAX_OBJECTS; objectid++) { F_DestroyObject(objectid); } F_ObjectUpdate(false); return 1; } |