Skocz do zawartości
  • 0

prefix profesji


hwdp789

Pytanie

potrzebuje rozwiniecie do skryptu:

 

 

command /pyro:
    permission: pyro.sk
    permission message: &4&lNIE POSIADASZ UPRAWNIEN!
    trigger:
        clear player's inventory
        equip player with all Leather armour named "&4&lSET PYRO"
        dye player's helmet red
        dye player's chestplate red
        dye player's leggings red
        dye player's boots red
        enchant the player's boots with protection 5 and Unbreaking 10
        enchant the player's leggings with protection 5 and Unbreaking 10
        enchant the player's chestplate with protection 5 and Unbreaking 10
        enchant the player's helmet with protection 5 and Unbreaking 10
        send "&4&lOtrzymales klase PYRO."
        give 1 wooden sword of sharpness 2 and fire aspect 2 named "&4&lMIECZ PYRO" to player
        stop

 

do tego potrzebuje zeby wpisywalo komende /pex user %player% prefix "&a[&4PYRO&a]

i przy smierci gracz wpisywalo komende "/pex user %player% prefix """

Odnośnik do komentarza
https://skript.pl/temat/15678-prefix-profesji/
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

  • 0

do tego samego dopisz jeszcze po triggerze:

set {%player%::pyro} to true

a potem oddzielnie:

on death:
	if {%victim%::pyro} is true:
		execute console command "pex user %victim% prefix """
		set {%victim%::pyro} to false

jak "%victim%" nie dziala to sproboj "%player%"

Odnośnik do komentarza
https://skript.pl/temat/15678-prefix-profesji/#findComment-107369
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ę...