Chciałbym stworzyć skrypt na paczki po śmierci(w tym przypadku jest to głowa). Niestety po kilku próbach nie udało mi się tego dokonać
Czy ktoś ma pomysł jak to wykonać
oto kod
on death of player:
if player's gamemode is survival:
set the block at location of victim to head named "&4&l%player%"
set {_dchest} to block at location of victim
set yaml value "deathchestloc" from file "/zmienne/gracze/%UUID of player%.yml" to location of victim
add inventory of victim to {_dchest}
add helmet of victim to {_dchest}
add chestplate of victim to {_dchest}
add leggings of victim to {_dchest}
add boots of victim to {_dchest}
clear drops
on rightclick on head:
set {_a} to location of clicked block
open the inventory of the block at {_a} to player
Pytanie
RodgerDodg3r 110
Witam
Chciałbym stworzyć skrypt na paczki po śmierci(w tym przypadku jest to głowa). Niestety po kilku próbach nie udało mi się tego dokonać
Czy ktoś ma pomysł jak to wykonać
oto kod
on death of player: if player's gamemode is survival: set the block at location of victim to head named "&4&l%player%" set {_dchest} to block at location of victim set yaml value "deathchestloc" from file "/zmienne/gracze/%UUID of player%.yml" to location of victim add inventory of victim to {_dchest} add helmet of victim to {_dchest} add chestplate of victim to {_dchest} add leggings of victim to {_dchest} add boots of victim to {_dchest} clear drops on rightclick on head: set {_a} to location of clicked block open the inventory of the block at {_a} to player
Odnośnik do komentarza
Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi