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

BlazureWolf

Posted

Thanks for the change! Was also wondering if there was away to add a specific amount of for an item added on spawn.

For example, I have ammo use off, but I want players to be able to reclaim a specific amount of ammo off the bodies.

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.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
159.8k
Total sales
Payments
3.4m
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.