Jump to content

GUISHOP

Not a Bug 1.0.5

Good evening I would like my players to be able to buy and that the item in question is added to the inventory, but I can not it will be several days that try, but nothing to do, can you give me an example, because my helicopter can not be placed


https://gyazo.com/1e31817761d4ec2bd752e76c19ba754d

  "Mini": {
    "BaseItem": "box.wooden.large",
    "SkinID": 2691274490,
    "Prefab": "assets/content/vehicles/minicopter/minicopter.entity.prefab",
    "NeedsTCAuth": true,
    "CanBePickedUp": false,
    "AdjustHeight": 0.0
  }
}

 

GUISHOP:

    "Mini": {
      "DisplayName": "???",
      "CraftAsDisplayName": false,
      "Shortname": "???",
      "MakeBlueprint": false,
      "AllowSellOfUsedItems": false,
      "Condition": 0.0,
      "EnableBuy": true,
      "EnableSell": false,
      "Image": "",
      "SellPrice": 1.0,
      "BuyPrice": 1.0,
      "BuyCooldown": 0,
      "SellCooldown": 0,
      "BuyQuantity": [],
      "SellQuantity": [],
      "BuyLimit": 0,
      "BuyLimitResetCoolDown": 0,
      "SellLimit": 0,
      "SellLimitResetCoolDown": 0,
      "KitName": "",
      "Command": [
        "inventory.giveto $player.id ???"
      ],
      "RunCommandAndCustomShopItem": false,
      "GeneTypes": [],
      "SkinId": ??? skin <----- ???
    },

 

 

Share this comment


Link to comment
9 hours ago, Delltus said:

"inventory.giveto $player.id ???"

nope there is no command support, just match item name and item shortname from your Entities.json when you selling items in gui shop

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.6k

Files Sold

Total number of files sold.

1.5m

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.