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

Co poprawić w skrypcie?


lukasz7689

Rekomendowane odpowiedzi

Opublikowano

Witam, co poprawić w tym skrypcie żeby crafting Rzucanego TNT składał się z 9x64 tnt a nie z 9x1 tnt?

 

Cytat

on rightclick:
    if name of player's tool is "&4&lRzucane TNT":
        set {TNT.%player%} to true
        shoot a TNT from player with speed 1.0
        remove 1 tnt named "&4&lRzucane TNT" from player
        wait 2 second
        set {TNT.%player%} to false
on place tnt:
    if {tnt.%player%} is true:
        cancel event
on script load:
    register new shaped recipe for TNT of infinity 1 named "&4&lRzucane TNT" using tnt, tnt, tnt, tnt, tnt, tnt, tnt, tnt, tnt

 

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus a nisi molestie, ultricies justo id, pharetra sem. Aliquam tempus hendrerit lorem non maximus. Duis rutrum quam id ipsum pellentesque blandit. Praesent quis massa arcu. Praesent cursus accumsan orci, venenatis facilisis orci accumsan quis.

Opublikowano

Proszę:

Niestety jestem na telefonie i nie mg dodać w znaczniku, więc wytabuj to

on load:

set {tnt} to "RTNT" 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 of infinity 1 named "&e&lRzucane TNT"}; {tnt}.Recipe.register{};

Opublikowano

Dzięki za pomoc, temat do zamknięcia!

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus a nisi molestie, ultricies justo id, pharetra sem. Aliquam tempus hendrerit lorem non maximus. Duis rutrum quam id ipsum pellentesque blandit. Praesent quis massa arcu. Praesent cursus accumsan orci, venenatis facilisis orci accumsan quis.

Opublikowano

on right click:
    if name of player's tool is "&4Rzucane &f&lTNT":
        set {tnt.%player%} to true
        shoot a TNT from player with speed 0.4
        remove 1 tnt named "&4Rzucane &f&lTNT" from player
        wait 2 second
        set {tnt.%player%} to false
on place tnt:
    if {tnt.%player%} is true:
        cancel event

command /rzucanetnt [<player>] [<text>]:
    permission: daj.rzucane
    trigger:
        if arg 1 is not set:
            if arg 2 is not set:
                send "&b&li&F&Lp&a.eu &f&o>> &f&oPoprawne uzycie &c&o/&f&oRzucane [nick] [ilosc]"
        if arg 1 is set:
            if arg 2 is set:
                execute console command "give %arg 1% tnt %arg 2%  name:&4Rzucane &f&lTNT"
                send "&b&li&F&Lp&a.eu &f&o>> &a&lOtrzymales &4Rzucane &f&lTNT &2&lx&a&l%arg 2% &a&l!" to player-arg

  • Amove zmienił(a) tytuł na Co poprawić w skrypcie?
  • Biter. zablokował(a) ten temat

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...