command /invkaydet [<text>]:
permission: "inv.kaydet"
permission message: "Envanter kaydedebilmek icin yetkiniz yok!"
trigger:
add arg 1 to {Inventory.%player%::*}
set {_count} to 0
loop 36 times:
set {inv.%player%.%{_count}%.%arg 1%} to slot {_count} of player's inventory
add 1 to {_count}
set {inv.kask.%player%.%arg 1%} to player's helmet
set {inv.zirh.%player%.%arg 1%} to player's chestplate
set {inv.pant.%player%.%arg 1%} to player's leggings
set {inv.bot.%player%.%arg 1%} to player's boots
command /invver [<text>]:
permission: "inv.ver"
permission message: "Envanter verebilmek icin yetkiniz yok"
trigger:
set {_count} to 0
loop 36 times:
set slot {_count} of player's inventory to {inv.%player%.%{_count}%.%arg 1%}
add 1 to {_count}
set the helmet of player to {inv.kask.%player%.%arg 1%}
set the chestplate of player to {inv.zirh.%player%.%arg 1%}
set the leggings of player to {inv.pant.%player%.%arg 1%}
set the boots of player to {inv.bot.%player%.%arg 1%}
stop
Aga Minecraft İtemleri Variableye Kaydetme Skripti Yazdım Çıkmadı Bende Buraya Basvurdum Sağolasın Bu AradaGoogle diye bir yer var. Orada da örnekleri var ,_,
Hiç duydun mu?
Kod:command /invkaydet [<text>]: permission: "inv.kaydet" permission message: "Envanter kaydedebilmek icin yetkiniz yok!" trigger: add arg 1 to {Inventory.%player%::*} set {_count} to 0 loop 36 times: set {inv.%player%.%{_count}%.%arg 1%} to slot {_count} of player's inventory add 1 to {_count} set {inv.kask.%player%.%arg 1%} to player's helmet set {inv.zirh.%player%.%arg 1%} to player's chestplate set {inv.pant.%player%.%arg 1%} to player's leggings set {inv.bot.%player%.%arg 1%} to player's boots command /invver [<text>]: permission: "inv.ver" permission message: "Envanter verebilmek icin yetkiniz yok" trigger: set {_count} to 0 loop 36 times: set slot {_count} of player's inventory to {inv.%player%.%{_count}%.%arg 1%} add 1 to {_count} set the helmet of player to {inv.kask.%player%.%arg 1%} set the chestplate of player to {inv.zirh.%player%.%arg 1%} set the leggings of player to {inv.pant.%player%.%arg 1%} set the boots of player to {inv.bot.%player%.%arg 1%} stop