I don't know if the GiveKit failed at this moment? But he had loot and his name, only loadout failed.
My config includes one single loadkit currently.
"items": [
{
"itemid": -1549739227,
"container": "wear",
"amount": 1,
"skinid": 2090776132,
"weapon": false,
"blueprintTarget": 0,
"mods": []
}
I am not able to reproduce this at all. I have 8 kits loaded, each kit must have items in each kit that you created PRIOR to adding them to Paratroopers. the method for the kits calling is the same in 100 different plugins. Its a hook call. If there are any issues in any of the kits, that is a kit thing.
ins.Kits?.Call("GiveKit", NPC, configData.NPC.Kits.GetRandom())); when used like this, all it does is look at all the different kits in the config and applies one at random. the configData.NPC.Kits is the section of the config file where you have your Kits that you are adding to the Paratroopers. GetRandom is just as it sounds.
The best way to test your Kits you created is to empty your inventory, and give yourself the kit that you created. I highly recommend for every single one you created using Kits, that you test and make sure it gives you that kit. If it does not, then there is a problem with that Kit and you may need to recreate it or resave it. Trust me when I say I have made that mistake myself. Troubleshooting 101.
Buba1and if there are 5 of them there may be a mistake?
I would suggest posting your Kits data for review - strongly believe it is your kits since I cant reproduce on any of the servers I tested it on.
validate JSON