Jump to content

Giving More Than 1 Item

Closed 1.3.1

Hello, is it possible to add more than one item reward? i.e. if I wanted to give a supply drop and scrap. I don't use Kits so that is unfortunately not a viable option for me. 

If no, would a solution be to set another ID to the same # of referrals as the first with the same reward conditions?

ID 1: 0/2 Invites Reward: 1 Supply Signal
ID 2: 0/2 Invites Reward: 500 Scrap

Would doing this count any 2 referrals (let's say player A and player B) for both IDs?

Share this comment


Link to comment

Oh I see, so configuring it to this would have the effect of giving 1 supply signal and 500 scrap?

{
      "Invites Amount": 2,
      "ID": 1,
      "Show Description": false,
      "Description": [],
      "Type": "Item",
      "Image": "",
      "Title": "",
      "Command (%steamid%)": "inventory.giveto ${playerID} "scrap" "500"",
      "Kit": "",
      "Plugin": {
        "Hook": "Deposit",
        "Plugin name": "Economics",
        "Amount": 1,
        "(GameStores) Store ID in the service": "UNDEFINED",
        "(GameStores) Server ID in the service": "UNDEFINED",
        "(GameStores) Secret Key": "UNDEFINED"
      },
      "Display Name (empty - default)": "1 Supply Signal",
      "ShortName": "supply.signal",
      "Skin": 0,
      "Amount": 1
    },

Share this comment


Link to comment

Try this: 

"Type": "Item",

      …

      "Command (%steamid%)": "inventory.giveid %steamid% scrap 500|inventory.giveid %steamid% supply.signal 1",

  • Like 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.5k

Files Sold

Total number of files sold.

1.6m

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.