Skocz do zawartości
  • 0

System PvP


JaTrollek

Pytanie

Witam . Od niedawna planuje utworzyć serwer pvp z kitami.

 

Ogólnie ma to wyglądać tak :

 

Po wejściu gracza na serwer przed nim ma stać NPC z nazwą "Zestawy" po kliknięciu na NPC otwiera nam sie skrzynia z Zestawami (nie wiem chyba bedzie lepiej przypisac komende do npc) które są dostępne od ilości zabójstw :

Zestaw darmowy - 

Zestaw 10 zabójstw -

Zestaw 30 zabojstw -

Zestaw 60 zabójstw -

Zestaw 90 zabójstw -

Zestaw 120 zabójstw -

Zestaw 150 zabójstw -

Zestaw 180  zabójstw -

Zestaw 210 zabójstw -

Zależy to od ilości graczy

Dajcie jakies propozycje
 dzieki

Odnośnik do komentarza
https://skript.pl/temat/26472-system-pvp/
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
46 minut temu, damixedixed napisał:

Proszę:
https://code.skript.pl/xae6INMu

Masz jeszcze jakiś problem to pisz na priv lub skype: damixedixed

;)


Wysłane z iPad za pomocą Tapatalk

[00:38:26 INFO]: [Skript] Reloading menu.sk...
[00:38:26 ERROR]: 'chest with 1 rows named "&bOdbierz zestaw"' is not an entity type (menu.sk, line 14: open chest with 1 rows named "&bOdbierz zestaw" to player')
[00:38:26 ERROR]: 'player's current inventory' is not an item stack (menu.sk, line 16: set slot 0 of player's current inventory to wooden sword of unbreaking 1 named "&8Zestaw darmowy"')
[00:38:26 ERROR]: 'player's current inventory' is not an item stack (menu.sk, line 18: set slot 1 of player's current inventory to wooden sword of sharpness 2 named "&7Zestaw nowicjusza"')
[00:38:26 ERROR]: 'player's current inventory' is not an item stack (menu.sk, line 20: set slot 2 of player's current inventory to stone sword of unbreaking 2 named "&aZestaw podstawowy"')
[00:38:26 ERROR]: 'player's current inventory' is not an item stack (menu.sk, line 22: set slot 3 of player's current inventory to stone sword of sharpness 2 named "&2Zestaw giermka"')
[00:38:26 ERROR]: 'player's current inventory' is not an item stack (menu.sk, line 24: set slot 4 of player's current inventory to iron sword of unbreaking 3 named "&eZestaw najemnika"')
[00:38:26 ERROR]: 'player's current inbentory' is not an item stack (menu.sk, line 26: set slot 5 of player's current inbentory to iron sword of sharpness 3 named "&6Zestaw wojownika"')
[00:38:26 ERROR]: 'player's current inventory' is not an item stack (menu.sk, line 28: set slot 6 of player's current inventory to diamond sword of unbreaking 4 named "&bZestaw gwardzisty"')
[00:38:26 ERROR]: 'player's current inventory' is not an item stack (menu.sk, line 30: set slot 7 of player's current inventory to diamond sword of sharpness 4 named "&3Zestaw krˇla"')
[00:38:26 ERROR]: can't understand this condition: '{kill.%player%} os bigger than 209' (menu.sk, line 31: if {kill.%player%} os bigger than 209:')
[00:38:26 ERROR]: can't understand this event: 'on inventory click' (menu.sk, line 33: on inventory click:')
[00:38:26 INFO]: [Skript] Encountered 11 errors while reloading menu.sk!
>

Odnośnik do komentarza
https://skript.pl/temat/26472-system-pvp/#findComment-174390
Udostępnij na innych stronach

  • 0

[11:29:50 INFO]: [Skript] Reloading menu.sk...
[11:29:50 ERROR]: 'player's current inbentory' is not an entity type (menu.sk, line 26: set slot 5 of player's current inbentory to iron sword of sharpness 3 named "&6Zestaw wojownika"')
[11:29:51 ERROR]: '{kill.%player%} os bigger than 209' is not a boolean (yes/no) (menu.sk, line 31: if {kill.%player%} os bigger than 209:')
[11:29:51 ERROR]: 'slot' is not an item type (menu.sk, line 36: if clicked slot is 0:')
[11:29:51 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (menu.sk, line 38: else if clicked slot is 1:')
[11:29:51 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (menu.sk, line 40: else if clicked slot is 2:')
[11:29:51 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (menu.sk, line 42: else if clicked slot is 3:')
[11:29:51 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (menu.sk, line 44: else if clicked slot is 4:')
[11:29:51 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (menu.sk, line 46: else if clicked slot is 5:')
[11:29:51 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (menu.sk, line 48: else if clicked slot is 6:')
[11:29:51 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (menu.sk, line 50: else if clicked slot is 7:')
[11:29:51 ERROR]: 'else if' has to be placed just after another 'if' or 'else if' section (menu.sk, line 52: else if clicked slot is 8:')
[11:29:51 INFO]: [Skript] Encountered 11 errors while reloading menu.sk!


Wgrałem i bledy dalej

Odnośnik do komentarza
https://skript.pl/temat/26472-system-pvp/#findComment-174515
Udostępnij na innych stronach

  • 0

player's current inbentory ----> player's current inventory (literowka autora)

{kill.%player%} os bigger than 209 ----> {kill.%player%} is bigger than 209 (kolejna literowka)

 

Co do reszty - nie wiem, nie jestem autorem skriptu. Zrobiłbym to zupełnie inaczej, poczekaj na niego.

 

 

Odnośnik do komentarza
https://skript.pl/temat/26472-system-pvp/#findComment-174518
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...