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 20of 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 20of 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
Pytanie
MyLand 1
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:
Odnośnik do komentarza
https://skript.pl/temat/47496-poprawienie-wyci%C4%85gania/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi