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

FREE HeliInbound : 0.1.1 0.1.1

Нет прав для скачивания
C#:
// Все права принадлежат дискорд сообществу https://discord.gg/VgNHPpNrz6
namespace Oxide.Plugins
{
    [Info("HeliInbound", "Wulf/lukespragg", "0.1.1", ResourceId = 1457)]
    [Description("Notifies players when a helicopter is inbound.")]

    class HeliInbound : RustPlugin
    {
        // Do NOT edit this file, instead edit HeliInbound.json in server/<identity>/oxide/config

        string Notification => Config.Get<string>("Notification");

        protected override void LoadDefaultConfig() => Config["Notification"] = "Helicopter inbound!";

        void OnEntitySpawned(BaseEntity entity)
        {
            if (entity.LookupShortPrefabName().Equals("patrolhelicopter.prefab"))  PrintToChat(Notification);
        }
    }
}

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