Jump to content

Loot on spawn

Closed 0.4.4 0.4.5

BlazureWolf
BlazureWolf

Posted

Can the "Loot on spawn" : [] line be used to add any item or is it meant to be used with another plugin?

I wanted to have certain bots spawn with specific loot and don't know the syntax/format for adding items.

walkinrey

Posted (edited)

Forgot to populate it for default config, it should look like this
 

      "Loot on spawn": [
        {
          "Item shortname or ID": "rifle.ak",
          "Item name (leave empty for default)": "",
          "Item skin": 0,
          "Enable chance of drop on death?": false,
          "Chance of drop on death (0-100)": 100,
          "Attachments": []
        }
      ],

 

Edited by walkinrey
  • Like 1
walkinrey

Posted

Changed Status from Pending to Closed

Changed Fixed In to 0.4.5

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
154.5k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • 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.