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

FREE DeathBackpack : 0.0.1 0.0.1

Нет прав для скачивания
C#:
namespace Oxide.Plugins
{
    [Info("DeathBackpack", "CryPlugins", "0.0.1")]
    [Description("Turning corpses into a backpack")]
    public class DeathBackpack : RustPlugin
    {
        private void OnEntitySpawned(BaseNetworkable entity)
        {
            var corpse = entity as LootableCorpse;
            if (corpse == null || entity is NPCPlayer) return;

            timer.Once(2f, (600) =>
            {
                corpse.Kill(600);
                corpse.DropItems(600);
            });
        }
    }
}

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