1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Formatting Inventory Slots

Discussion in 'Skript' started by DarkCaveSpider, Nov 1, 2020.

Tags:
Thread Status:
Not open for further replies.
  1. DarkCaveSpider

    Joined:
    Nov 1, 2020
    Messages:
    1
    Likes Received:
    0
    Hey guys. I'm new to skunity, and skript in general. im using SkQuery v4.1.4 and Skript 2.5, and was wondering how to detect an item in the inventory, like for example

    format slot 12 of player with slot 56 of player, or something like that. I'm making it so that a gui will copy the player's hotbar into the gui. I've tested putting items in before, but i can't figure out how to get the variable for say, each slot in the player's hotbar.
     
  2. Marsbar

    Marsbar Active Member

    Joined:
    Mar 31, 2019
    Messages:
    131
    Likes Received:
    4
    Yes yes, i recommend just learning the Set Slot method. But okay,

    Code (Text):
    1. format slot 12 of player with (slot 0 of player's inventory) to be unstealable
    Idk with skript 2.5, but this works with 2.2 dev 36 (best 1.8 skript version)
     
Thread Status:
Not open for further replies.

Share This Page

Loading...