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

Błąd skryptu na TurboDrop :/


KubBusOfficial

Rekomendowane odpowiedzi

Opublikowano

Witam!


Tak jak w temacie, mam problem ze skryptem na:


TurboDrop


 


Oto wygląd Skryptu:




#=============[ Licencja by KubBus ]===========#
#| Zezwalam na: |#
#| 1. Zmiane wiadomosci |#
#| 2. Zmiane opcji |#
#| Nie zezwalam na: |#
#| 1. Podszywanie sie pod autora |#
#| 2. Kasowanie ostatniej linijki |#
#=============[ Licencja by KubBus ]============#

command /turbodrop [<text>] [<player>]:
trigger:
player has permission "turbo.cmd":
if arg 1 is "wlacz":
if arg 2 is not set:
set {turbodrop} to now
broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wlaczony!"
stop
if arg 2 is set:
set {turbodrop} to now to %name of player%
broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wlaczony dla &c%player%&7!"
stop
if arg 1 is "wylacz":
if arg 2 is not set:
clear {turbodrop}
broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wylaczony!"
stop
if arg 2 is set:
clear {turbodrop}
broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wylaczony dla &c%player%&7!"
stop
send "&8[ &aES&2MC &8] &cNie masz do tego uprawnien!"
on mine of stone:
if {turbodrop} is set:
chance of 20%:
give obsidian to player
chance of 20%:
give diamond block to player
chance of 20%:
give emerald block to player
chance of 20%:
give apple to player
chance of 20%:
add 100 xp to player

Z góry DZIĘKUJĘ!


OSIĄGNIĘTA ILOŚĆ POSTÓW: 5 10 / 25 50 100 250 500 1000 2000.

 

Nudzisz się? Zapraszam Cię na mój serwer MediumHC: EsMc.ench.pl !

Oraz Mój 2. serwer Sky-Block: EsMc-SkyBlock.ench.pl !

Opublikowano

@Sp1di @piomal

 

Oto błędy:

[16:57:32 INFO]: [Skript] Reloading TurboDrop.sk...
[16:57:33 ERROR]: ' player%' is not an item stack (TurboDrop.sk, line 19: set {turbodrop} to now to %name of player%')
[16:57:33 INFO]: [Skript] Encountered 1 error while reloading TurboDrop.sk!

OSIĄGNIĘTA ILOŚĆ POSTÓW: 5 10 / 25 50 100 250 500 1000 2000.

 

Nudzisz się? Zapraszam Cię na mój serwer MediumHC: EsMc.ench.pl !

Oraz Mój 2. serwer Sky-Block: EsMc-SkyBlock.ench.pl !

Opublikowano

@piomal
Nie zapomniałem. Sprawdź dokładnie. Tam jest:

[16:57:33]: 'ODSTĘPplayer%' is not an item stack (...)

[16:57:33 ERROR]: ' player%' is not an item stack (TurboDrop.sk, line 19: set {turbodrop} to now to %name of player%')

OSIĄGNIĘTA ILOŚĆ POSTÓW: 5 10 / 25 50 100 250 500 1000 2000.

 

Nudzisz się? Zapraszam Cię na mój serwer MediumHC: EsMc.ench.pl !

Oraz Mój 2. serwer Sky-Block: EsMc-SkyBlock.ench.pl !

Opublikowano

@KubBusOfficial

 

 

 

command /turbodrop [<text>] [<player>]:
	trigger:
		player has permission "turbo.cmd":
			if arg 1 is "wlacz":
				if arg 2 is not set:
					set {turbodrop} to now
					broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wlaczony!"
					stop
				if arg 2 is set:
					set {turbodrop.%player%} to now
					broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wlaczony dla &c%player%&7!"
					stop
			if arg 1 is "wylacz":
				if arg 2 is not set:
					clear {turbodrop}
					broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wylaczony!"
					stop
				if arg 2 is set:
					clear {turbodrop.%player%}
					broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wylaczony dla &c%player%&7!"
					stop
		send "&8[ &aES&2MC &8] &cNie masz do tego uprawnien!"
on mine of stone:
	if {turbodrop} is set:
		chance of 20%:
			give obsidian to player
		chance of 20%:
			give diamond block to player
		chance of 20%:
			give emerald block to player
		chance of 20%:
			give apple to player
		chance of 20%:
			add 100 xp to player 

 

 

Opublikowano

@AlexsanderARG
Skrypt działa, ale tylko jak daje globalnie. Jak daje jednemu Graczowi, tu już nie chce działać :/

OSIĄGNIĘTA ILOŚĆ POSTÓW: 5 10 / 25 50 100 250 500 1000 2000.

 

Nudzisz się? Zapraszam Cię na mój serwer MediumHC: EsMc.ench.pl !

Oraz Mój 2. serwer Sky-Block: EsMc-SkyBlock.ench.pl !

Opublikowano

@KubBusOfficial

 

 

 

variables:
    {turbodrop} = false
    {turbodrop.%player%} = false
command /turbodrop [<text>] [<player>]:
	trigger:
		player has permission "turbo.cmd":
			if arg 1 is "wlacz":
				if arg 2 is not set:
					set {turbodrop.%player%} to true
					broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wlaczony!"
					stop
				if arg 2 is set:
					set {turbodrop.%arg 2%} to true
					broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wlaczony dla &c%player%&7!"
					stop
			if arg 1 is "wylacz":
				if arg 2 is not set:
					set {turbodrop.%player%} to false
					broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wylaczony!"
					stop
				if arg 2 is set:
					set {turbodrop.%arg 2%} to false
					broadcast "&8[ &aES&2MC &8] &cTurboDrop &7zostal wylaczony dla &c%player%&7!"
					stop
		send "&8[ &aES&2MC &8] &cNie masz do tego uprawnien!"
on mine of stone:
	if {turbodrop.%player%} is set:
		chance of 20%:
			give obsidian to player
		chance of 20%:
			give diamond block to player
		chance of 20%:
			give emerald block to player
		chance of 20%:
			give apple to player
		chance of 20%:
			add 100 xp to player 

 

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...