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 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
Pytanie
Dynio 0
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
Udostępnij na innych stronach
9 odpowiedzi na to pytanie
Rekomendowane odpowiedzi