MyLand 1 Opublikowano 30 marca 2021 Udostępnij Opublikowano 30 marca 2021 Witam pomoże mi ktoś poprawić kod? Dokładnie chodzi o wyciąganie itemku z gui po czym slot w którym on był zamieni się na item przypisany do {@tlo} Oto kod który napisałem do wkładania i wyciągania itemu: on inventory click: if name of current inventory of player is "&8&lItemy": if event-item is {@tlo}: if player's cursor slot is string: set {_slot} to clicked slot if {_slot} is 29: wait 1 tick set slot 20 of player's current inventory to {@item_2} set slot {_slot} of player's current inventory to string play sound "entity.experience_orb.pickup" with volume 100 and pitch 0.7 to player set cursor slot of player to air if event-item is string: if player's cursor slot is air: if {_slot} is 29: wait 1 tick set slot 20 of player's current inventory to {@item_1} set slot {_slot} of player's current inventory to {@tlo} play sound "entity.experience_orb.pickup" with volume 100 and pitch 0.7 to player set cursor slot of player to string Odnośnik do komentarza https://skript.pl/temat/47495-poprawienie-wyci%C4%85gania/ Udostępnij na innych stronach Więcej opcji udostępniania...
Glicz 246 Opublikowano 30 marca 2021 Udostępnij Opublikowano 30 marca 2021 Ten temat został przeniesiony do kosza! Duplikat: Odnośnik do komentarza https://skript.pl/temat/47495-poprawienie-wyci%C4%85gania/#findComment-297796 Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi