a plugin that drops health packages when players die
Note
ty @heartbreakhotel from cssharp discord for distance calculation
inspired by [CS:GO] Drop Random Health Pack
{
"Settings": {
"AlwaysDrop": false,
"DropPercentage": 50,
"DropDelay": 0.1,
"HealAmount": 40,
"MaxHealth": 100,
"PickupDistance": 32
},
"Entity": {
"Model": "models/chicken/chicken_roasted.vmdl",
"DeleteTimer": 10,
"DeleteIfFullHealth": true,
"SpawnHeight": 10,
"MaxCount": 64
},
"Chat": {
"Enabled": true,
"Prefix": "{lightred}[HealthPack]",
"DropAnnounce": true,
"PickupAnnounce": true
},
"Sounds": {
"Enabled": true,
"PickupSound": "sounds/buttons/blip1.vsnd",
"PickupFailSound": "sounds/buttons/button8.vsnd"
},
"Debug": false,
"ConfigVersion": 1
}