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.

Solved Items Join

Discussion in 'Skript' started by Tomas, May 26, 2020.

Thread Status:
Not open for further replies.
  1. Tomas

    Tomas Member

    Joined:
    May 9, 2020
    Messages:
    2
    Likes Received:
    0
    Intento poner items cuando el usuario entra al servidor pero los pone en el inventario de crafteos.


    on join:
    wait 3 tick
    set slot 0 of player's current inventory to wood sword of sharpness 1
    set slot 2 of player's current inventory to bow
    set slot 3 of player's current inventory to 32 arrows
    set slot 4 of player's current inventory to chain helmet
    set slot 5 of player's current inventory to chain chestplate
    set slot 6 of player's current inventory to chain leggings
    set slot 7 of player's current inventory to chain boots
    stop

    No se que estoy haciendo mal..
     
  2. Best Answer:
    Post #2 by Dave, May 26, 2020
  3. Dave

    Dave Active Member

    Joined:
    Jul 20, 2018
    Messages:
    228
    Likes Received:
    9
    ¿qué estás haciendo? te recomiendo hacerle clear al jugador cuando entra, luego dar los items usando:
    Code (Text):
    1. give <items> [named %text%] to [slot %integer% of] %players%
    Code (Text):
    1. on join:
    2.     clear player's inventory
    3.  
    4.     wait 1 tick
    5.  
    6.     give wood sword of sharpness 1 to slot 0 of player
    7.     give bow to player
    8.     give 32 arrow to player
    9.     equip player with chain helmet
    10.     equip player with chain chestplate
    11.     equip player with chain leggings
    12.     equip player with chain boots
     
  4. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    El foro está centrado en el idioma inglés. Para próximos posts que vayas a hacer, redacta tu problema en el lenguaje correspondiente.
     
  5. WeeHee

    WeeHee Active Member

    Joined:
    Mar 4, 2017
    Messages:
    108
    Likes Received:
    21
    Maybe these inventory ids will help you or can you explain your problem better?

    upload_2020-5-26_16-17-46.png
     
  6. Tomas

    Tomas Member

    Joined:
    May 9, 2020
    Messages:
    2
    Likes Received:
    0
    Gracias a todos por la ayuda y la atención. Thanks for attention.
     
  7. Dave

    Dave Active Member

    Joined:
    Jul 20, 2018
    Messages:
    228
    Likes Received:
    9
    De nada!
     
Thread Status:
Not open for further replies.

Share This Page

Loading...