Jump to content

GUISHOP

Not a Bug 1.0.5

Delltus
Delltus

Posted

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 <----- ???
    },

 

 

David

Posted

Hey. what you shoud do inside GUIShop is

"DisplayName": "Mini",
"Shortname": "box.wooden.large",

David

Posted

Changed Status from Pending to Not a Bug

Delltus

Posted

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

David

Posted

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

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.