Solved Items Join

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

Tomas

Member
May 9, 2020
2
0
1
37
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..
 
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..
¿qué estás haciendo? te recomiendo hacerle clear al jugador cuando entra, luego dar los items usando:
Code:
give <items> [named %text%] to [slot %integer% of] %players%

Code:
on join:
    clear player's inventory

    wait 1 tick

    give wood sword of sharpness 1 to slot 0 of player
    give bow to player
    give 32 arrow to player
    equip player with chain helmet
    equip player with chain chestplate
    equip player with chain leggings
    equip player with chain boots
 
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..
El foro está centrado en el idioma inglés. Para próximos posts que vayas a hacer, redacta tu problema en el lenguaje correspondiente.
 
Maybe these inventory ids will help you or can you explain your problem better?

upload_2020-5-26_16-17-46.png
 
Status
Not open for further replies.