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

skript nie daje itkow i nie tp


EcipXXXD

Rekomendowane odpowiedzi

Opublikowano

Witam :-0

Zbytnio skripty to nie jest moja mocna strona ale coś tam próbuje.

Mam problem z tym skriptem nie wykrywa on gracza dlatego go teleportuje on oraz nie daje itemów po kliknieciu na diamond sword :>

CONSOLA:

[14:58:11 INFO]: CONSOLE issued server command: /warp hard <none>
[14:58:11 INFO]: Error: Player not found.
 
KOD NA PASTEBIN: https://pastebin.com/sDiBL7CY
KOD:

on rightclick with clock:
    if player has permission "vip.gui":
        open chest with 1 rows named "&6MENU VIPA!" to player
        wait 1 ticks
        format slot 1 of player with diamond sword named "&aHARDCORE" to run [execute console command "hc"]
        format slot 4 of player with Water Bucket named "&aKNOCKBACK" to run [execute console command ""]
        format slot 7 of player with Gold Pickaxe named "&aSTART EDYCJI" to run [execute console command ""]


command /hc:
        permission: test.sk
        trigger:
                wait 1 ticks
                heal player
                clear the inventory of the player
                add diamond sword of sharpness 5 to the player
                add 2 enchanted golden apple to the player
                add 16 golden apple to the player
                add diamond sword of knockback 2 to the player
                add 64 steak to the player
                add 2 ender pearl to the player
                equip player with diamond helmet of protection 4, unbreaking 3
                equip player with diamond chestplate of protection 4, unbreaking 3
                equip player with diamond leggings of protection 4, unbreaking 3
                equip player with diamond boots of protection 4, unbreaking 3
                execute console command "warp hard %player%"

 

Z GÓRY DZIĘKI ZA POMOC :)

Opublikowano
on rightclick with clock:
    if player has permission "vip.gui":
        open chest with 1 rows named "&6MENU VIPA!" to player
        wait 1 ticks
        format slot 1 of player with diamond sword named "&aHARDCORE" to run [execute player command "hc"]
        format slot 4 of player with Water Bucket named "&aKNOCKBACK" to run [execute console command ""]
        format slot 7 of player with Gold Pickaxe named "&aSTART EDYCJI" to run [execute console command ""]


command /hc:
        permission: test.sk
        trigger:
                wait 1 ticks
                heal player
                clear the inventory of the player
                add diamond sword of sharpness 5 to the player
                add 2 enchanted golden apple to the player
                add 16 golden apple to the player
                add diamond sword of knockback 2 to the player
                add 64 steak to the player
                add 2 ender pearl to the player
                equip player with diamond helmet of protection 4, unbreaking 3
                equip player with diamond chestplate of protection 4, unbreaking 3
                equip player with diamond leggings of protection 4, unbreaking 3
                equip player with diamond boots of protection 4, unbreaking 3
                execute console command "warp hard %player%"

U mnie wszystko dziala 0 bledow

Opublikowano
1 minutę temu, lizz0rek napisał:

on rightclick with clock:
    if player has permission "vip.gui":
        open chest with 1 rows named "&6MENU VIPA!" to player
        wait 1 ticks
        format slot 1 of player with diamond sword named "&aHARDCORE" to run [execute player command "hc"]
        format slot 4 of player with Water Bucket named "&aKNOCKBACK" to run [execute console command ""]
        format slot 7 of player with Gold Pickaxe named "&aSTART EDYCJI" to run [execute console command ""]


command /hc:
        permission: test.sk
        trigger:
                wait 1 ticks
                heal player
                clear the inventory of the player
                add diamond sword of sharpness 5 to the player
                add 2 enchanted golden apple to the player
                add 16 golden apple to the player
                add diamond sword of knockback 2 to the player
                add 64 steak to the player
                add 2 ender pearl to the player
                equip player with diamond helmet of protection 4, unbreaking 3
                equip player with diamond chestplate of protection 4, unbreaking 3
                equip player with diamond leggings of protection 4, unbreaking 3
                equip player with diamond boots of protection 4, unbreaking 3
                execute console command "warp hard %player%"

U mnie wszystko dziala 0 bledow

Po kliknięciu zegarka teleportuje Cię oraz nadaje itemki ?

Problem rozwiązany do zamknięcia 

Opublikowano
19 minut temu, EcipXXXD napisał:

Po kliknięciu zegarka teleportuje Cię oraz nadaje itemki ?

skrypt powinien dzialac, masz wildkskripta i skquery w najnowszej wersji?

 

+

czemu wy uzywacie 'add xxx to the player', zamiast 'add xxx to player's inventory' podobnie z clear, powinno byc 'clear player's inventory'

 

 

JAVA <3

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...