Skocz do zawartości
  • 0

Pomoc cobblex


Dynio

Pytanie

Witam, po nacisnięciu na cobblex normalnie daje itemy ale jest problem, po położeniu nie usuwa  go z ekwipunku, w skripcie jest linijka remove ale ona nie działa (Skript nie jest mój)

options:
    nazwa: &9CobbleX
    itemy: 17:0 or 332 or leather or gold ingot or ender pearl or diamond or Block of Iron or diamond or string or diamond or bread or emerald
   
    craffting: crafting table named "&a/cx &7-" with lore "&8Tworzy CobbleX"

 
on load:
        new Recipe "CobbleX";
        "CobbleX".Recipe.registerIngredient{1, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{2, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{3, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{4, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{5, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{6, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{7, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{8, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{9, 64 cobblestone};
        "CobbleX".Recipe.registerResult{2 48 named "&9CobbleX"};
        "CobbleX".Recipe.register{};
 
 
on rightclick with 48:
    if name of player's tool is "&9CobbleX":
        cancel event
        give a {@itemy} to the player
        send "&7Wylosowales przedmiot!"
        wait a tick
        remove 1 stone named "&9CobbleX" from player
 

Odnośnik do komentarza
https://skript.pl/temat/14430-pomoc-cobblex/
Udostępnij na innych stronach

9 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
19 minut temu, Dynio napisał:

Witam, po nacisnięciu na cobblex normalnie daje itemy ale jest problem, po położeniu nie usuwa  go z ekwipunku, w skripcie jest linijka remove ale

ona nie działa (Skript nie jest mój)

Spoiler

 

options:
    nazwa: &9CobbleX
    itemy: 17:0 or 332 or leather or gold ingot or ender pearl or diamond or Block of Iron or diamond or string or diamond or bread or emerald
   
    craffting: crafting table named "&a/cx &7-" with lore "&8Tworzy CobbleX"

 
on load:
        new Recipe "CobbleX";
        "CobbleX".Recipe.registerIngredient{1, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{2, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{3, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{4, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{5, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{6, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{7, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{8, 64 cobblestone};
        "CobbleX".Recipe.registerIngredient{9, 64 cobblestone};
        "CobbleX".Recipe.registerResult{2 48 named "&9CobbleX"};
        "CobbleX".Recipe.register{};
 
 
on rightclick with 48:
    if name of player's tool is "&9CobbleX":
        cancel event
        give a {@itemy} to the player
        send "&7Wylosowales przedmiot!"
        wait a tick
        remove 1 stone named "&9CobbleX" from player

 

 

Spoiler

Wyglada mi to na skrypt @Turasa

 Chyba Nie jest w nazwa zapętlone Powinno Być Nazwa : "&9CobbleX"

Odnośnik do komentarza
https://skript.pl/temat/14430-pomoc-cobblex/#findComment-100100
Udostępnij na innych stronach

  • 0
4 minuty temu, Dynio napisał:

 

 

WIEM W CZYM JEST PROBLEM!

on rightclick with 48:
    if name of player's tool is "&9CobbleX":
        cancel event
        give a {@itemy} to the player
        send "&7Wylosowales przedmiot!"
        wait a tick
        remove 1 stone named "&9CobbleX" from player 

ZAMIAST 48 POWINNO BYĆ "cobblestone" 

Odnośnik do komentarza
https://skript.pl/temat/14430-pomoc-cobblex/#findComment-100112
Udostępnij na innych stronach

  • 0
3 minuty temu, Taurtis__ napisał:

WIEM W CZYM JEST PROBLEM!


on rightclick with 48:
    if name of player's tool is "&9CobbleX":
        cancel event
        give a {@itemy} to the player
        send "&7Wylosowales przedmiot!"
        wait a tick
        remove 1 stone named "&9CobbleX" from player 

ZAMIAST 48 POWINNO BYĆ "cobblestone" 

Ja znalazłem inny problem  

remove 1 stone named "&9CobbleX" from player 

Zamiast stone powinno być 48 xDD jaki ja głupi

Odnośnik do komentarza
https://skript.pl/temat/14430-pomoc-cobblex/#findComment-100114
Udostępnij na innych stronach

  • 0

Nie wiem czy wolno, ale zapraszam do mnie:
Możesz zobaczyć jak działa mój i sobie popraw.

Jeszcze jedno kod skryptu umieszczaj w odpowiedni wydzielonym kawałku. Dodaje się go za pomocą przycisku 'Kod'. Ładniej wtedy wygląda cały wpis.

Edytowane przez Turas
Odnośnik do komentarza
https://skript.pl/temat/14430-pomoc-cobblex/#findComment-100155
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...