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

[Pytanie] Opcja ubierania zbroji


Rekomendowane odpowiedzi

Opublikowano

Nie wiem czy zadziała (skrypt nietestowany)

on rightclick on sign:
(Tab)if line 1 is "&lDiax":
(2xTab)if line 2 is "&lZbroja":
(3xTab)set helmet of the player to a diamond helmet 
(3xTab)set chestplate of the player to a diamond chestplate
(3xTab)set leggings of the player to a diamond leggings
(3xTab)set boots of the player to a diamond boots

Wypromuje twój serwer minecraft na mclista :)

* 1000 diamentów w niecałe 24h,

* Twoj serwer znajdzie sie na 1 stronie,

* Po wiecej informacji zapraszam na PW,

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Opublikowano

Nie działa, nic się nie dzieje ;/ żadnych błędów ale nic się nie dzieje.

Zrobiłeś dobrze tabliczki?

Wypromuje twój serwer minecraft na mclista :)

* 1000 diamentów w niecałe 24h,

* Twoj serwer znajdzie sie na 1 stronie,

* Po wiecej informacji zapraszam na PW,

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Opublikowano

Spróbuj dodać:

on death of player:
(Tab)set #Ustaw dalej sam

Wypromuje twój serwer minecraft na mclista :)

* 1000 diamentów w niecałe 24h,

* Twoj serwer znajdzie sie na 1 stronie,

* Po wiecej informacji zapraszam na PW,

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Opublikowano

Spróbuj dodać:

on death of player:
(Tab)set #Ustaw dalej sam

 

Zrobiłem tak nwm czy dobrze dodałem

wczesniej jest kod
on death of player:
    executeconsole command "/tppos %player% {@x} {@y} {@z}"
    set helmet of the player to a diamond helmet
    set chestplate of the player to a diamond chestplate
    set leggings of the player to a diamond leggings
    set boots of the player to a diamond boots

błąd cant understand this condition

Opublikowano

Zrobiłem tak nwm czy dobrze dodałem

wczesniej jest kod
on death of player:
    executeconsole command "/tppos %player% {@x} {@y} {@z}"
    set helmet of the player to a diamond helmet
    set chestplate of the player to a diamond chestplate
    set leggings of the player to a diamond leggings
    set boots of the player to a diamond boots
błąd cant understand this condition
Sprawdź teraz:

on death of player:
(Tab)execute console command "/tppos %player% 0 0 0" #Ustaw Kordynatory
(Tab)wait 3 seconds
(Tab)set helmet of the player to a diamond helmet
(Tab)set chestplate of the player to a diamond chestplate
(Tab)set leggings of the player to a diamond leggings
(Tab)set boots of the player to a diamond boots

Wypromuje twój serwer minecraft na mclista :)

* 1000 diamentów w niecałe 24h,

* Twoj serwer znajdzie sie na 1 stronie,

* Po wiecej informacji zapraszam na PW,

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Opublikowano

Sprawdź teraz:

on death of player:
(Tab)execute console command "/tppos %player% 0 0 0" #Ustaw Kordynatory
(Tab)set helmet of the player to a diamond helmet
(Tab)set chestplate of the player to a diamond chestplate
(Tab)set leggings of the player to a diamond leggings
(Tab)set boots of the player to a diamond boots

Ten błąd mówi że nie znajduje tego on death of player:

 

l8fs9z.jpg

Opublikowano

Ten błąd mówi że nie znajduje tego on death of player:

 

7674814079306041212499.jpg

Spróbuj z:

on death:
(Tab)victim is a player:
(2xTab)set helmet of the player to a diamond helmet

Wypromuje twój serwer minecraft na mclista :)

* 1000 diamentów w niecałe 24h,

* Twoj serwer znajdzie sie na 1 stronie,

* Po wiecej informacji zapraszam na PW,

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Opublikowano

Spróbuj z:

on death:
(Tab)victim is a player:
(2xTab)set helmet of the player to a diamond helmet

To samo nie może odnaleźć takiej funkcji jak on death:

 

Mam takie coś:

 

on rightclick on sign:
	if line 1 is "O..o..O":
		if line 2 is "&4&l[KOX]":
			if line 3 is "&2&lDOLACZ":
				if line 4 is "O..o..O":
					execute console command "/tppos %player% 200 78 500"
					set player's helmet to diamond helmet of protection 4, unbreaking 3 named "&1&lNazwa"
					set player's chestplate to diamond chestplate of protection 4, unbreaking 3 named "&1&lNazwa"
					set player's leggings to diamond leggings of protection 4, unbreaking 3 named "&1&lNazwa"
					set player's boots to diamond boots of protection 4, unbreaking 3 named "&1&lNazwa"

Jak zrobię takie coś ale na komendę to działa.

Opublikowano

To samo nie może odnaleźć takiej funkcji jak on death:

Polecam wgrać najnowszą wersje Skript. Mi ten event "on death:" działał.

Wypromuje twój serwer minecraft na mclista :)

* 1000 diamentów w niecałe 24h,

* Twoj serwer znajdzie sie na 1 stronie,

* Po wiecej informacji zapraszam na PW,

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Opublikowano

Zrób tak:

on rightclick on sign:
    if line 1 is "O..o..O":
        if line 2 is "&4&l[KOX]":
            if line 3 is "&2&lDOLACZ":
                if line 4 is "O..o..O":
                    execute player command "/koxdolacz"
command /koxdolacz:
    trigger:
        execute console command "/tppos %player% 200 78 500"
        set player's helmet to diamond helmet of protection 4, unbreaking 3 named "&1&lNazwa"
        set player's chestplate to diamond chestplate of protection 4, unbreaking 3 named "&1&lNazwa"
        set player's leggings to diamond leggings of protection 4, unbreaking 3 named "&1&lNazwa"
        set player's boots to diamond boots of protection 4, unbreaking 3 named "&1&lNazwa"
on death:
    if victim is player:
        if attacker is player:
            set victim's helmet to diamond helmet of protection 4, unbreaking 3 named "&1&lNazwa"
            set victim's chestplate to diamond chestplate of protection 4, unbreaking 3 named "&1&lNazwa"
            set victim's leggings to diamond leggings of protection 4, unbreaking 3 named "&1&lNazwa"
            set victim's boots to diamond boots of protection 4, unbreaking 3 named "&1&lNazwa"

Nie testowane.

 

sygnatura.png

Opublikowano

@HardStyl3r_PL

W pierwszej części skryptu zrobiłeś błąd w tabowaniu. Popraw zanim autor tematu wgra skrypt.

Wypromuje twój serwer minecraft na mclista :)

* 1000 diamentów w niecałe 24h,

* Twoj serwer znajdzie sie na 1 stronie,

* Po wiecej informacji zapraszam na PW,

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Opublikowano

Już wczoraj sobie ogarnałem ;D

#===============KOX===============#
on rightclick on sign:
	if line 1 is "O..o..O":
		if line 2 is "&4&l[KOX]":
			if line 3 is "&2&lDOLACZ":
				if line 4 is "O..o..O":
					execute console command "kox %player%"
					set player's helmet to diamond helmet of protection 4 named "&5&lHelm Gracza"
					set player's chestplate to diamond chestplate of protection 4 named "&5&lKlata Gracz"
					set player's leggings to diamond leggings of protection 4 named "&5&lSpodnie Gracza"
					set player's boots to diamond boots of protection 4 named "&5&lButy Gracza"
command /kox <player>:
	trigger:
		execute console command "/tppos %argument 1% 200 78 500"
		execute console command "/kit kox %argument 1%"
#=================================#

Tylko mam jeszcze problem, może wiecie jak ustawić w kitach w Essentials żeby poty były oddzielnie, bo jak robię każdego healtha oddzielnie - id 1 i pod to samo to one się stakują w grze ;/

Opublikowano

Nietestowany skrypt!

Zestaw w skrypcie:

options:
#Tu wpisz ID lub nazwe mikstury#
(Tab)mikstura:
#Tu wpisz ID lub nazwe mikstury#
(Tab)mikstura2: 
#Tu wpisz ID lub nazwe mikstury#
(Tab)mikstura3:
#Tu wpisz ID lub nazwe mikstury#
(Tab)mikstura4:
command /zestaw <text>:
(Tab) if arg 1 is "mikstury":
(2xTab)player has permission "zestaw.use":
(3xTab)give {@mikstura} and {@mikstura2} and {@mikstura3} and {@mikstura4}

Wypromuje twój serwer minecraft na mclista :)

* 1000 diamentów w niecałe 24h,

* Twoj serwer znajdzie sie na 1 stronie,

* Po wiecej informacji zapraszam na PW,

¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...