Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Skript/Skript Plus


Rekomendowane odpowiedzi

Opublikowano

Chcę zrobić opis dawanego przedmiotu... Ten kod nie działa. Pomoże ktoś? ;3

add dirt named "lol" to player's inventory
set the 1st line of the dirt's lore to "&6LoL"
set the 2nd line of the dirt's lore to "&6LoL"
set the 3rd line of the dirt's lore to "&6LoL"
set the 4th line of the dirt's lore to "&6LoL"
Opublikowano

Podaj co ci pisze po wpisaniu /sk reload <nazwaplikusk> ;)

 

#edit

To moze dzialac :)

 

set {_lore} to lore of dirt named "lol"set the first line of {_lore} to "lol"set the second line of {_lore} to "hahah"set the third line of {_lore} to "3"
itd, itp.

f

Opublikowano

Ja mam tak zrobione i działa bez problemu. (Wiem że tego trochę dużo ale przynajmniej działa ).

command /nazwij [<text>]:
    permission: skript.admin
    permission message: &4Nie masz uprawnien!
    trigger:
        set the name of the player's tool to "%colored argument 1%"
                
command /lore1 [<text>]:
    permission: skript.admin
    permission message: &4Nie masz uprawnien!
    trigger:
        set the 1st line of lore of player's tool to "%colored argument 1%"
        
command /lore2 [<text>]:
    permission: skript.admin
    permission message: &4Nie masz uprawnien!
    trigger:
        set the 2st line of lore of player's tool to "%colored argument 1%"
        
command /lore3 [<text>]:
    permission: skript.admin
    permission message: &4Nie masz uprawnien!
    trigger:
        set the 3st line of lore of player's tool to "%colored argument 1%"
        
command /lore4 [<text>]:
    permission: skript.admin
    permission message: &4Nie masz uprawnien!
    trigger:
        set the 4st line of lore of player's tool to "%colored argument 1%"
Opublikowano

 

Ja mam tak zrobione i działa bez problemu. (Wiem że tego trochę dużo ale przynajmniej działa ).

command /nazwij [<text>]:
    permission: skript.admin
    permission message: &4Nie masz uprawnien!
    trigger:
        set the name of the player's tool to "%colored argument 1%"
                
command /lore1 [<text>]:
    permission: skript.admin
    permission message: &4Nie masz uprawnien!
    trigger:
        set the 1st line of lore of player's tool to "%colored argument 1%"
        
command /lore2 [<text>]:
    permission: skript.admin
    permission message: &4Nie masz uprawnien!
    trigger:
        set the 2st line of lore of player's tool to "%colored argument 1%"
        
command /lore3 [<text>]:
    permission: skript.admin
    permission message: &4Nie masz uprawnien!
    trigger:
        set the 3st line of lore of player's tool to "%colored argument 1%"
        
command /lore4 [<text>]:
    permission: skript.admin
    permission message: &4Nie masz uprawnien!
    trigger:
        set the 4st line of lore of player's tool to "%colored argument 1%"

Ale chyba nie zauważyłeś różnicy, że aby dostać item z opisem to musisz go trzymać (tool), a autor tematu wyraźnie podał kod, w którym item jest dawany graczowi do eq i nie wiadomo w jaki slot on wpadnie. Czyli podsumowując - nie pomagasz. Z resztą rozwiązanie już podałem wyżej, wystarczy umieć czytać.

417711489342956987022.png

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...