Server Shutdown randomly
#6

Try this:
pawn Код:
public OnGameModeExit()
{
    for(i=0;i<MAX_PLAYERS;i++)
    {
        SaveVehicleKeys(i);
    }
    for(v=1;v<MAX_PLAYERS;v++)
    {
        if(VehicleEnum[v][veh_owned])
        {
            SaveVehicle(v);
            ResetEnumVar(v);
            DestroyVehicle(v);
        }
    }
    DestroyPickup(DealershipPickup);
    DestroyPickup(ScrapPickup);
    DestroyPickup(NeonPickup);
    Delete3DTextLabel(DealershipLabel);
    Delete3DTextLabel(ScrapLabel);
    Delete3DTextLabel(NeonLabel);
    djson_GameModeExit();
    Delete3DTextLabel(CasinoNameDynamic3DText);
    Delete3DTextLabel(CasinoEnterDynamic3DText);
    Elevator_Destroy();
    Audio_DestroyTCPServer();
    for(i= 0;i<130;i++)
    {
        TextDrawHideForAll(Mod_Shop_Color_Menu[i]);
        TextDrawDestroy(Mod_Shop_Color_Menu[i]);
    }
    TextDrawHideForAll(LoginTextdraws[0]);
    TextDrawDestroy(LoginTextdraws[0]);
    TextDrawHideForAll(LoginTextdraws[1]);
    TextDrawDestroy(LoginTextdraws[1]);
    return 1;
}
Reply


Messages In This Thread
Server Shutdownafter i start it up - by Johnny_Robins - 25.06.2012, 04:12
Re: Server Shutdown randomly - by ColorHost-Kevin - 25.06.2012, 04:14
Re: Server Shutdown randomly - by Johnny_Robins - 25.06.2012, 04:17
Re: Server Shutdown randomly - by Johnny_Robins - 25.06.2012, 04:29
Re: Server Shutdown randomly - by Johnny_Robins - 25.06.2012, 04:51
Re: Server Shutdown randomly - by Dubya - 25.06.2012, 06:44
Re: Server Shutdown randomly - by Johnny_Robins - 25.06.2012, 12:32
Re: Server Shutdown randomly - by Lordzy - 25.06.2012, 12:45
Re: Server Shutdown randomly - by Johnny_Robins - 25.06.2012, 12:49

Forum Jump:


Users browsing this thread: 3 Guest(s)