How can i give player a item in a slot?

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

LauKast

Member
Feb 1, 2018
4
0
0
24
So i wanna give this chest in slot 9 in the hotbar but how can i do that?



The Code

on player respawn:
wait 1 second
give player 1 chest named "&6&lKit & Inställningar" with lore "&7Välj kit och inställningar"

 
try use
Code:
set slot {slot} of player to {item} named "&6&lKit & Inställningar" with lore "&7Välj kit och inställningar"
 
you need to specify it's their inventory.
code_language.skript:
set slot 9 of player's current inventory to chest named "..."
[doublepost=1517522245,1517522211][/doublepost]oop nevermindx3 was too slow haha.
 
Status
Not open for further replies.