Bulundu Dünya Başına Envanter (Gruplu)

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

MineLive

Koydum Çalışma Masasını
Katılım
17 Mart 2023
Mesajlar
70
Elmaslar
9
Puan
185
Yaş
25
Konum
MineLive Türkiye
Dünya başına envanter lazım 1.18.2
 
İhtiyacı olan arkadaşlara bilgilendirme. Skript ile çözdüm ama tek eksiği gruplandıramama Skriptti bırakıyorum.

(Alıntıdır)


# Every World With Every Inventory!


# Implements In Your Skript!

function saveinv(w: text , p: player):
set {_count} to 0
loop 36 times:
set {inv.%{_p}%.%{_count}%.main.%{_w}%} to slot {_count} of {_p}'s inventory
add 1 to {_count}
set {inv.%{_p}%.helmet.main.%{_w}%} to {_p}'s helmet
set {inv.%{_p}%.chest.main.%{_w}%} to {_p}'s chestplate
set {inv.%{_p}%.legs.main.%{_w}%} to {_p}'s leggings
set {inv.%{_p}%.feet.main.%{_w}%} to {_p}'s boots




function giveinv(w: text , p: player , a: text):
execute console command "/clear %{_p}%"
wait 1 tick
set {_count} to 0
loop 36 times:
set slot {_count} of {_p}'s inventory to {inv.%{_p}%.%{_count}%.main.%{_w}%}
add 1 to {_count}
set the helmet of {_p} to {inv.%{_p}%.helmet.main.%{_w}%}
set the chestplate of {_p} to {inv.%{_p}%.chest.main.%{_w}%}
set the leggings of {_p} to {inv.%{_p}%.legs.main.%{_w}%}
set the boots of {_p} to {inv.%{_p}%.feet.main.%{_w}%}


on teleport:
saveinv("%event-world%" , player)
giveinv("%future world%" , player , "%event-world%")
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst