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] Bugowanie się skryptu.


Rekomendowane odpowiedzi

Opublikowano

Witam

 

Wczoraj zrobilem swoj skrypt na dawanie EQ po kliknieciu  w tabliczke..

 

Oto on:

on right click on sign:
    if line 1 is "&l=============":
        if line 2 is "&4&lPvP-MC":
            if line 3 is "&1&lStandard":
                if line 4 is "&l=============":
            send "&EOtrzymales Ekwipunek!"
            add diamond sword of sharpness 5 named "&2Standard" to player's inventory
            add 64 320 named "&2Standard" to player's inventory
            add diamond helmet of protection 4 , unbreaking 3 named "&2Standard" to the player's helmet
            add diamond chestplate of protection 4 , unbreaking 3 named "&2Standard" to the player's chestplate
            add diamond leggings of protection 4 , unbreaking 3 named "&2Standard" to the player's leggings
            add diamond boots of protection 4 , unbreaking 3 named "&2Standard" to the player's boots
            set {_x} to 1162
            set {_y} to 8
            set {_z} to 74
            set {_r} to location at {_x}, {_y}, {_z}
            teleport player to {_r}
        stop

on right click on sign:
    if line 1 is "&l=============":
        if line 2 is "&4&lPvP-MC":
            if line 3 is "&4&lHardcore":
                if line 4 is "&l=============":
            send "&EOtrzymales Ekwipunek!"
            add diamond sword of sharpness 5 , knockback 2 , fire aspect 2 named "&4Hardcore" to player's inventory
            add 64 320 named "&4Hardcore" to player's inventory
            add diamond helmet of protection 4 , unbreaking 3 named "&4Hardcore" to the player's helmet
            add diamond chestplate of protection 4 , unbreaking 3 named "&4Hardcore" to the player's chestplate
            add diamond leggings of protection 4 , unbreaking 3 named "&4Hardcore" to the player's leggings
            add diamond boots of protection 4 , unbreaking 3 named "&4Hardcore" to the player's boots
            set {_x} to 917
            set {_y} to 69
            set {_z} to -170
            set {_r} to location at {_x}, {_y}, {_z}
            teleport player to {_r}
            stop

Kiedy mialem 1 tabliczke dodawala EQ prawidlowo

Lecz kiedy dodalem 2 tabliczke to zaczelo dawac 2x EQ z Standard i Hardcore

Wiecie dlaczego ??

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...