Deleted User 478541
Odunlara Vur Vur Vur!
- Katılım
- 27 Haziran 2019
- Mesajlar
- 29
- Elmaslar
- 7
- Puan
- 13.260
Kod:
set {_sign2} to location of target block
if line 2 of event-block is "&cBoş!":
delete yaml value "s-event-loc" from "plugins/SkriptFiles/Shops/dont.yml"
save yaml "plugins/SkriptFiles/Shops/dont.yml"
play sound "customse.box-pnp" with volume 100 and pitch 1 at player for player
make player run command "/setblock 846 63 1492 %{%{box}%-Features-Box}%" as op
set slot 8 of player's inventory to 166 named "&4Kutu Yok!"
set line 1 of event-block to "&8[ &9Slot 2 &8]"
set line 2 of event-block to "%{%{box}%-Features-Name}%"
set line 3 of event-block to "&c%{%{box}%-Price}%&aTL"
set line 4 of event-block to "&e%player%"
else:
send "&aN&eK &8» &7Burada zaten bir &akutu &7var!" to player
{_sign2} değişkenini location of target block ayarlıyorum hatta farklı bir çok şey denedim location of targeted-block - location of event-block - location of event-location vs. fakat event-block olarak kullandığım yerlere {_sign2} yazsam dahi çalışmıyorlar ne yapmam gerekiyor? Bu bana diğer yazacağım bazı kodlar için gerekli.
Son düzenleme: