Problem taki że jak rzucam rzucaka to on mi zostaje w eq.
on load:
set {tnt} to "RzucaneTNT"
new Recipe {tnt};
{tnt}.Recipe.setIngredient{1, 64 tnt};
{tnt}.Recipe.setIngredient{2, 64 tnt};
{tnt}.Recipe.setIngredient{3, 64 tnt};
{tnt}.Recipe.setIngredient{4, 64 tnt};
{tnt}.Recipe.setIngredient{5, 64 tnt};
{tnt}.Recipe.setIngredient{6, 64 tnt};
{tnt}.Recipe.setIngredient{7, 64 tnt};
{tnt}.Recipe.setIngredient{8, 64 tnt};
{tnt}.Recipe.setIngredient{9, 64 tnt};
{tnt}.Recipe.setResult{1 tnt named "&c&lRzucane Tnt"};
{tnt}.Recipe.register{};
on right click with tnt block:
if name of player's tool is "&c&lRzucane Tnt":
shoot a tnt from player with speed 0.7
remove 1 tnt named "&c&lRzucane Tnt" with lore "&a&lwystrzel tnt na ponad 0.2 kratki! &c(DO USTAWIENIA W CONFIGU)" from player
stop
on place tnt block:
if name of player's tool is "&c&lRzucane Tnt":
cancel event
shoot a tnt from player with speed 0.7
remove 1 tnt named "&c&lRzucane Tnt" with lore "&a&lwystrzel tnt na ponad 0.2 kratki! " from player
stop
command /tnt:
permission: tnt
permission message: &cBrak uprawnien!
trigger:
give 64 tnt named "&c&lRzucane Tnt" with lore "&a&lwystrzel tnt na ponad 0.2 kratki!" to player
stop
Pytanie
DabisTV 2
Problem taki że jak rzucam rzucaka to on mi zostaje w eq.
on load: set {tnt} to "RzucaneTNT" new Recipe {tnt}; {tnt}.Recipe.setIngredient{1, 64 tnt}; {tnt}.Recipe.setIngredient{2, 64 tnt}; {tnt}.Recipe.setIngredient{3, 64 tnt}; {tnt}.Recipe.setIngredient{4, 64 tnt}; {tnt}.Recipe.setIngredient{5, 64 tnt}; {tnt}.Recipe.setIngredient{6, 64 tnt}; {tnt}.Recipe.setIngredient{7, 64 tnt}; {tnt}.Recipe.setIngredient{8, 64 tnt}; {tnt}.Recipe.setIngredient{9, 64 tnt}; {tnt}.Recipe.setResult{1 tnt named "&c&lRzucane Tnt"}; {tnt}.Recipe.register{}; on right click with tnt block: if name of player's tool is "&c&lRzucane Tnt": shoot a tnt from player with speed 0.7 remove 1 tnt named "&c&lRzucane Tnt" with lore "&a&lwystrzel tnt na ponad 0.2 kratki! &c(DO USTAWIENIA W CONFIGU)" from player stop on place tnt block: if name of player's tool is "&c&lRzucane Tnt": cancel event shoot a tnt from player with speed 0.7 remove 1 tnt named "&c&lRzucane Tnt" with lore "&a&lwystrzel tnt na ponad 0.2 kratki! " from player stop command /tnt: permission: tnt permission message: &cBrak uprawnien! trigger: give 64 tnt named "&c&lRzucane Tnt" with lore "&a&lwystrzel tnt na ponad 0.2 kratki!" to player stop
Edytowane przez CountingDogsWstawiam w code
Notatka dodana przez CountingDogs
Odnośnik do komentarza
https://skript.pl/temat/42552-problem-z-skryptem/Udostępnij na innych stronach
3 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ą.