Иконка ресурса

FREE NoRecyclerEfficiency : 1.0.0 1.0.0

Нет прав для скачивания
C#:
// Все права принадлежат дискорд сообществу https://discord.gg/VgNHPpNrz6

/*           ________               __
           / ____/ /_  ____  _____/ /___  __
          / / __/ __ \/ __ \/ ___/ __/ / / /
         / /_/ / / / / /_/ (__  ) /_/ /_/ /
         \____/_/ /_/\____/____/\__/\__, /
                                   /____/

*/

using Oxide.Core.Plugins;
using Oxide.Game.Rust.Cui;

namespace Oxide.Plugins
{
    [Info("NoRecyclerEfficiency", "Ghosty", "1.0.0")]
    public class NoRecyclerEfficiency : RustPlugin
    {

        void OnServerInitialized(bool initial)
        {
            int modifiedRecyclers = 0;

            foreach (var networkable in BaseNetworkable.serverEntities)
            {
                if (networkable is Recycler recycler)
                    if (recycler != null)
                {
                    recycler.safezoneRecycleEfficiency = 1f;
                    recycler.radtownRecycleEfficiency = 1f;
                    modifiedRecyclers++;
                }
            }

            Puts("Recycler efficiencies have been restored.");
        }
    }
}

Автор
15FPS
Скачиваний
0
Просмотры
1
Первый выпуск
Обновление
Оценка
0.00 звёзд 0 оценок
Сверху