26.03.2016, 23:35
Quote:
pawn Код:
|
PHP код:
for(new i = 0; i < MaiorID; i++)
{
if(IsPlayerConnected(i))
{ SalvarPlayer(i); }
}
for(new i = 0; i < MaiorID; i++)
{
if(Infoa[i][Arara]) { RemovePlayerAttachedObject(i, 0); }
}
SalvarMorro();
SaveAdm();
DestroyMenu(Principal);
DestroyMenu(CoresRockstar);
DestroyMenu(Rodas);
DestroyMenu(VolumedoCarro);
DestroyMenu(Componentes);
EleicoesOnSave();
SaveEleicoes();
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 i = 0 ; i < GetMaxPlayers(); i ++) SaveWeaponsToFile(i);