Jump to content

Multiple kits

Closed 1.0.0 1.0.1

VsUK
VsUK

Posted (edited)

Does this accept multiple kids by inserting a new line with kit name? 

Edited by VsUK
UserLeftRust

Posted

I'll do this as a feature tomorrow... Just crawling into bed 😄

UserLeftRust

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to Next Version

UserLeftRust

Posted

Done... delete Config though.. causes error otherwise..

take note of formatting in the config
 

{
  "KitName": ["autokit","poop","bum"]
}

 

UserLeftRust

Posted

Changed Status from Work in Progress to Closed

VsUK

Posted (edited)

I like, just 1 small problem. It's not random. It selects the kits in order. Meaning everyone will be awarded the first kit in the list, which defeats the purpose of multiple kits 😉 I've ran the clear command & killed myself like 60+ times & it does in fact award you the kits in order & not randomly selecting. 

 

Edit, never mind. I wasn't paying attention. I had to set the custom autokit in kits & set each to 0 for them to be random & your plugin makes sure they only get awarded 1 kit only until I reset. 

 

Edited by VsUK
UserLeftRust

Posted

started freaking then 😄

Kits?.Call($"GiveKit", player, configData.KitName[new System.Random().Next(configData.KitName.Count())]);

Random baby yeah 😄

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.5k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.