Robię skrypt przywracający itemy do EQ ale mam problem. Nie ustawia mi zbroi. Nie mam żadnych errorów. Próbowałem używać broadcast aby sprawdzić czy ustawia mi do tych zmiennych itemy i ustawia ale nie chce ich wczytać.
Kod:
set {inv.%player%.helmet} to skutil yaml value "%player%.inventory.p1.helmet" from file "plugins/ServerSettings/inventory.yml"
set {inv.%player%.chest} to skutil yaml value "%player%.inventory.p1.chest" from file "plugins/ServerSettings/inventory.yml"
set {inv.%player%.legs} to skutil yaml value "%player%.inventory.p1.legs" from file "plugins/ServerSettings/inventory.yml"
set {inv.%player%.feet} to skutil yaml value "%player%.inventory.p1.feet" from file "plugins/ServerSettings/inventory.yml"
set the helmet of player to {inv.%player%.helmet}
set the chestplate of player to {inv.%player%.chest}
set the leggings of player to {inv.%player%.legs}
set the boots of player to {inv.%player%.feet}
Pytanie
rysiek21 2
Robię skrypt przywracający itemy do EQ ale mam problem. Nie ustawia mi zbroi. Nie mam żadnych errorów. Próbowałem używać broadcast aby sprawdzić czy ustawia mi do tych zmiennych itemy i ustawia ale nie chce ich wczytać.
Kod:
set {inv.%player%.helmet} to skutil yaml value "%player%.inventory.p1.helmet" from file "plugins/ServerSettings/inventory.yml" set {inv.%player%.chest} to skutil yaml value "%player%.inventory.p1.chest" from file "plugins/ServerSettings/inventory.yml" set {inv.%player%.legs} to skutil yaml value "%player%.inventory.p1.legs" from file "plugins/ServerSettings/inventory.yml" set {inv.%player%.feet} to skutil yaml value "%player%.inventory.p1.feet" from file "plugins/ServerSettings/inventory.yml" set the helmet of player to {inv.%player%.helmet} set the chestplate of player to {inv.%player%.chest} set the leggings of player to {inv.%player%.legs} set the boots of player to {inv.%player%.feet}
Kod wstawiam w odpowiednie znaczniki
Notatka dodana przez bvcz
Odnośnik do komentarza
Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.