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

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.