Skocz do zawartości
  • 0

Pomocy


Crystal_PL

Pytanie

Proszę o pomoc

http://pastebin.com/EEwcyNHx

Błędy:

http://screenshot.sh/mK77TuVvDzWwM

Tam gdzie puste tam byly diaxy po wyłączeniu proszę o pomoc.

Przy okazji proszę o naprawie skryptu http://screenshot.sh/m7zDHrj5ciwsU

I dodanie do niego że po zmienieniu nazwy ona sie mu pojawia na chacie np. send "Zmieniles nazwe tego itemu na (nazwa itemu)

tutaj kod 

 

options:
    tag: &8[&3&lPing&f&lCraft&8]

command /rename [<text>]:
    trigger:
        player has permission "wario.rename":
            arg 1 is set:
                send "{@tag} Uzyj &e/name <nowa nazwa>&2 aby ZMIENIC nazwe przedmiotu!"
            else:
                set the name of player's tool to coloured argument
                else:
                    send "&c&lBrak permisji do &4&lwario.rename!"

 

Edytowane przez Crystal_PL
Odnośnik do komentarza
https://skript.pl/temat/10238-pomocy/
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
options:
	tag: &8[&3&lPing*f&lCraft&8] &7

command /name [<text>]:
	aliases: /rename, /rn
	trigger:
		player has permission "rie.name" or "rie.*":
			arg 1 is set:
				player's tool is not air:
					set the name of player's tool to coloured arg
					send "{@tag} Zmieniono nazwe."
				else:
					send "{@tag} Musisz trzymac jakis przedmiot."
			else:
				send "{@tag} Uzycie: /name <nazwa>"
		else:
			send "{@tag} &cBrak uprawnien."

command /lore [<text>]:
	aliases: /addlore, /al
	trigger:
		player has permission "rie.lore" or "rie.*":
			arg 1 is set:
				player's tool is not air:
					set lore of player's tool to coloured arg
					send "{@tag} Zmieniono opis."
				else:
					send "{@tag} Musisz trzymac jakis przedmiot."
			else:
				send "{@tag} Uzycie: /lore <nazwa>"
		else:
			send "{@tag} &cBrak uprawnien."

@Crystal_PL Proszę I O ŁAPKE PROSZĘ

a tamto  to pozniej ogarne

Odnośnik do komentarza
https://skript.pl/temat/10238-pomocy/#findComment-76285
Udostępnij na innych stronach

  • 0
variables:
	{drop.diax.%player%} = true 
	{drop.szmar.%player%} = true
	{drop.zloto.%player%} = true
	{drop.zelazo.%player%} = true
	{drop.tnt.%player%} = true
	{drop.wegiel.%player%} = true
	{drop.ksiazka.%player%} = true
	{drop.redst.%player%} = true
	{drop.obs.%player%} = true
command /drop:
	trigger:
		open chest with 2 rows named "&0DROP ZE STONE" to player
		wait 2 ticks
		if {drop.diax.%player%} is true:
			format slot 0 of player with 1 of diamond named "&bDIAMENT" with lore "&eDROP: &aTAK" to close then run [make player execute command "/cdrop diax %player%"]->[send "&cWylaczyles drop diamentow"]
		if {drop.diax.%player%} is false:
			format slot 0 of player with 1 of diamond named "&bDIAMENT" with lore "&eDROP: &aNIE" to close then run [make player execute command "/cdrop diax %player%"]->[send "&cWlaczyles drop diamentow"]
		if {drop.szmar.%player%} is true:
			format slot 1 of player with 1 of emerald named "&2SZMARAGD" with lore "&eDROP: &aTAK" to close then run [make player execute command "/cdrop szmar %player%"]->[send "&cWylaczyles drop szmaragdow"]
		if {drop.szmar.%player%} is false:
			format slot 1 of player with 1 of emerald named "&2SZMARAGD" with lore "&eDROP: &cNIE" to close then run [make player execute command "/cdrop szmar %player%"]->[send "&aWlaczyles drop szmaragdow"]
		if {drop.zloto.%player%} is true:
			format slot 2 of player with 1 of gold ingot named "&eZLOTO" with lore "&eDROP: &aTAK" to close then run [make player execute command "/cdrop zloto %player%"]->[send "&cWylaczyles drop zlota"]
		if {drop.zloto.%player%} is false:
			format slot 2 of player with 1 of gold ingot named "&eZLOTO" with lore "&eDROP: &cNIE" to close then run [make player execute command "/cdrop zloto %player%"]->[send "&aWlaczyles drop zlota"]
		if {drop.zelazo.%player%} is true:
			format slot 3 of player with 1 of iron ingot named "&7ZELAZO" with lore "&eDROP: &aTAK" to close then run [make player execute command "/cdrop zelazo %player%"]->[send "&cWylaczyles drop zelaza"]
		if {drop.zelazo.%player%} is false:
			format slot 3 of player with 1 of iron ingot named "&7ZELAZO" with lore "&eDROP: &cNIE" to close then run [make player execute command "/cdrop zelazo %player%"]->[send "&aWlaczyles drop zelaza"]
		if {drop.tnt.%player%} is true:
			format slot 4 of player with 1 of tnt named "&cTNT" with lore "&eDROP: &aTAK" to close then run [make player execute command "/cdrop tnt %player%"]->[send "&cWylaczyles drop TNT"]
		if {drop.tnt.%player%} is false:
			format slot 4 of player with 1 of tnt named "&cTNT" with lore "&eDROP: &cNIE" to close then run [make player execute command "/cdrop tnt %player%"]->[send "&aWlaczyles drop TNT"]
		if {drop.wegiel.%player%} is true:
			format slot 5 of player with 1 of coal named "&8WEGIEL" with lore "&eDROP: &aTAK" to close then run [make player execute command "/cdrop wegiel %player%"]->[send "&cWylaczyles drop wegla"]
		if {drop.wegiel.%player%} is false:
			format slot 5 of player with 1 of coal named "&8WEGIEL" with lore "&eDROP: &cNIE" to close then run [make player execute command "/cdrop wegiel %player%"]->[send "&aWlaczyles drop wegla"]
		if {drop.ksiazka.%player%} is true:
			format slot 6 of player with 1 of book named "&7KSIAZKA" with lore "&eDROP: &aTAK" to close then run [make player execute command "/cdrop ksiazka %player%"]->[send "&cWylaczyles drop ksiazek"]
		if {drop.ksiazka.%player%} is false:
			format slot 6 of player with 1 of book named "&7KSIAZKA" with lore "&eDROP: &cNIE" to close then run [make player execute command "/cdrop ksiazka %player%"]->[send "&aWlaczyles drop ksiazek"]
		if {drop.redst.%player%} is true:
			format slot 7 of player with 1 of redstone named "&4REDSTONE" with lore "&eDROP: &aTAK" to close then run [make player execute command "/cdrop redst %player%"]->[send "&cWylaczyles drop redstona"]
		if {drop.redst.%player%} is false:
			format slot 7 of player with 1 of redstone named "&4REDSTONE" with lore "&eDROP: &cNIE" to close then run [make player execute command "/cdrop redst %player%"]->[send "&aWlaczyles drop redstona"]
		if {drop.obs.%player%} is true:
			format slot 8 of player with 1 of obsidian named "&5OBSYDIAN" with lore "&eDROP: &aTAK" to close then run [make player execute command "/cdrop obs %player%"]->[send "&cWylaczyles drop obsydianu"]
		if {drop.obs.%player%} is false:
			format slot 8 of player with 1 of obsidian named "&5OBSYDIAN" with lore "&eDROP: &cNIE" to close then run [make player execute command "/cdrop obs %player%"]->[send "&aWlaczyles drop obsydianu"]

Proszę, poprawiono, tylko chciałbym Cię poinformować że %player% odpowiada za gracza, czyli jeżeli klikniesz wyłącz to wyłącza tylko tobie :P

PS. variables: musi być bo inaczej skrypt nie wie czy zmienna jest na true czy na false i wywali error

Edytowane przez ShroN
Odnośnik do komentarza
https://skript.pl/temat/10238-pomocy/#findComment-76419
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ę...