CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Creating Inventory Tabs Script: Items not Showing up

    ScriptAPI
    creative issue script
    2
    3
    196
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BySneakz last edited by BySneakz

      So I tried out making a Script that adds new items to the creative inventory, but the items wherent showing up after I loaded into the game, only the new tab with the name and icon was created.
      Even the example which I found in the documentation tab didnt work.

      /// api_version=2
      var script = registerScript({
          name: "Test",
          version: "1.0.0",
          authors: ["BySneakz"]
      });
      script.registerTab({
          name: "MoreItems",
          icon: "apple",
          items: [
              Item.create("dirt")
              Item.create("stone")
          ]
      });
      
      

      Any ideas how to make the items show up?

      Edit : Please dont blame me for doing something completely wrong, Im completely new to scripting and stuff.

      1 Reply Last reply Reply Quote 0
      • somedudeyouveneverheardof
        somedudeyouveneverheardof last edited by

        https://forums.ccbluex.net/topic/295/plz-help

        maybe this helps if you are playing on b72

        B 1 Reply Last reply Reply Quote 0
        • B
          BySneakz @somedudeyouveneverheardof last edited by

          @somedudeyouveneverheardof No I already tried that
          but thanks.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          About
          • Terms of Service
          • Privacy Policy
          • Status
          • Contact Us
          Downloads
          • Releases
          • Source code
          • License
          Docs
          • Tutorials
          • CustomHUD
          • AutoSettings
          • ScriptAPI
          Community
          • Forum
          • Guilded
          • YouTube
          • Twitter
          • D.Tube