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

Problem ze skryptem na sklep


Sylwia101pl

Rekomendowane odpowiedzi

Opublikowano

                                                     Hej Dopiszecie dla mnie skrypt 

macie tu ten skrypt:

sign edit:
if line 1 of event-block is "kliknij":
if line 2 of event-block is "prawym":
if line 4 of event-block is "drwal":
set line 1 of event-block to "&f&lKLIKNIJ"
set line 2 of event-block to "&f&lPRAWYM"
set line 4 of event-block to "&6&lDRWAL"
send "&aStworzyles tabliczke!"
stop
 
on right click on sign:
if line 1 of event-block is "&f&lKLIKNIJ":
if line 2 of event-block is "&f&lPRAWYM":
if line 4 of event-block is "&6&lDRWAL":
open chest with 1 row named "&6&lDRWAL" to player
wait 1 tick
 
 
Chciałambym żeby było wiekszy sklep taki jak ekwipunek mam tylko 10 miejsc
chce zeby było 25-30 i koło tego po prawej stronie żeby była czerwona wełna i Limonkowa : (Czerwona Wkazywała Sell Limonkowa Buy)  
I jak ktos na to kliknie np na limonkowa bedzie mogl kupowac a na czerwona sprzedawać pomocy i po prosze jakbyscie mogli komendy zeby dodac do tego sklepu drewno czy cos zeby mogło kupować i Sprzedawać :D
Opublikowano
sign edit:
	if line 1 of event-block is "kliknij":
		if line 2 of event-block is "prawym":
			if line 4 of event-block is "drwal":
				set line 1 of event-block to "&6&lKLIKNIJ"
				set line 2 of event-block to"&6&lPRAWYM"
				set line 4 of event-block to "&6&lDRWAL"
				send "&7Stworzono tabliczkowy sklep"
	
on right click on sign:
	if line 1 of event-block is "&6&lKLIKNIJ":
		if line 2 of event-block is "&6&lPRAWYM":
			if line 4 of event-block is "&6&lDRWAL":
				open chest with 4 row named "&6&lSKLEP - &8[&9DRWAL&8]" to player
				wait 1 tick
				format slot 0 of player with orange glass to be unstealable
				format slot 9 of player with orange glass to be unstealable
				format slot 17 of player with orange glass to be unstealable
				format slot 25 of player with orange glass to be unstealable
				format slot 8 of player with red glass to be unstealable
				format slot 16 of player with red glass to be unstealable
				format slot 24 of player with red glass to be unstealable
				format slot 30 of player with red glass to be unstealable
				format slot 1 of player with wood named "&a&lKUP &8DREWNO" with lore "&cCENA: 100" to be unstealable to run [execute player command "/kup"]
				format slot 8 of player with wood named "&4&lSPRZEDAJ &8DREWNO" with lore "&cCENA: 100" to be unstealable to run [execute player command "/sprzedaj"]
				
command /kup:
	trigger:
		if player has 100 money:
			remove player 100 money:
			give player 64 wood
			
command /sprzedaj:
	trigger:
		if player has 64 wood:
			remove player 64 wood
			give player 100 money

nie wiem czy to wgl ma szanse działać :D 

Daj errory jak to odpalisz , bo raczej będa

Opublikowano
sign edit:
	if line 1 of event-block is "kliknij":
		if line 2 of event-block is "prawym":
			if line 4 of event-block is "drwal":
				set line 1 of event-block to "&6&lKLIKNIJ"
				set line 2 of event-block to"&6&lPRAWYM"
				set line 4 of event-block to "&6&lDRWAL"
				send "&7Stworzono tabliczkowy sklep"
	
on right click on sign:
	if line 1 of event-block is "&6&lKLIKNIJ":
		if line 2 of event-block is "&6&lPRAWYM":
			if line 4 of event-block is "&6&lDRWAL":
				open chest with 4 row named "&6&lSKLEP - &8[&9DRWAL&8]" to player
				wait 1 tick
				format slot 0 of player with orange glass to be unstealable
				format slot 9 of player with orange glass to be unstealable
				format slot 17 of player with orange glass to be unstealable
				format slot 25 of player with orange glass to be unstealable
				format slot 8 of player with red glass to be unstealable
				format slot 16 of player with red glass to be unstealable
				format slot 24 of player with red glass to be unstealable
				format slot 30 of player with red glass to be unstealable
				format slot 1 of player with wood named "&a&lKUP &8DREWNO" with lore "&cCENA: 100" to be unstealable to run [execute player command "/kup"]
				format slot 8 of player with wood named "&4&lSPRZEDAJ &8DREWNO" with lore "&cCENA: 100" to be unstealable to run [execute player command "/sprzedaj"]
				
command /kup:
	trigger:
		if player has 100 money:
			remove player 100 money:
			give player 64 wood
			
command /sprzedaj:
	trigger:
		if player has 64 wood:
			remove player 64 wood
			give player 100 money

nie wiem czy to wgl ma szanse działać :D

Daj errory jak to odpalisz , bo raczej będa

 

 

 

 

 

 

 

 

Ty wogóle nie zrobiłeś co chciałam  :( OMG mówiłam tylko drewno i żeby po prawej stronie byla czerwona welna (Sell) pod nia Limonkowa (Buy) i były wszystkie pary desek i drewna omg 

Opublikowano

 

sign edit:
	if line 1 of event-block is "kliknij":
		if line 2 of event-block is "prawym":
			if line 4 of event-block is "drwal":
				set line 1 of event-block to "&6&lKLIKNIJ"
				set line 2 of event-block to"&6&lPRAWYM"
				set line 4 of event-block to "&6&lDRWAL"
				send "&7Stworzono tabliczkowy sklep"
	
on right click on sign:
	if line 1 of event-block is "&6&lKLIKNIJ":
		if line 2 of event-block is "&6&lPRAWYM":
			if line 4 of event-block is "&6&lDRWAL":
				open chest with 4 row named "&6&lSKLEP - &8[&9DRWAL&8]" to player
				wait 1 tick
				format slot 0 of player with orange glass to be unstealable
				format slot 9 of player with orange glass to be unstealable
				format slot 17 of player with orange glass to be unstealable
				format slot 25 of player with orange glass to be unstealable
				format slot 8 of player with red glass to be unstealable
				format slot 16 of player with red glass to be unstealable
				format slot 24 of player with red glass to be unstealable
				format slot 30 of player with red glass to be unstealable
				format slot 1 of player with wood named "&a&lKUP &8DREWNO" with lore "&cCENA: 100" to be unstealable to run [execute player command "/kup"]
				format slot 8 of player with wood named "&4&lSPRZEDAJ &8DREWNO" with lore "&cCENA: 100" to be unstealable to run [execute player command "/sprzedaj"]
				
command /kup:
	trigger:
		if player has 100 money:
			remove player 100 money:
			give player 64 wood
			
command /sprzedaj:
	trigger:
		if player has 64 wood:
			remove player 64 wood
			give player 100 money

nie wiem czy to wgl ma szanse działać :D

Daj errory jak to odpalisz , bo raczej będa

 

 

 

 

 

 

 

 

Ty wogóle nie zrobiłeś co chciałam   :( OMG mówiłam tylko drewno i żeby po prawej stronie byla czerwona welna (Sell) pod nia Limonkowa (Buy) i były wszystkie pary desek i drewna omg 

 

Masz przykład i dodaj sobie inne drewna + zmien kolory to nie trudne..

Opublikowano

 

 

sign edit:
	if line 1 of event-block is "kliknij":
		if line 2 of event-block is "prawym":
			if line 4 of event-block is "drwal":
				set line 1 of event-block to "&6&lKLIKNIJ"
				set line 2 of event-block to"&6&lPRAWYM"
				set line 4 of event-block to "&6&lDRWAL"
				send "&7Stworzono tabliczkowy sklep"
	
on right click on sign:
	if line 1 of event-block is "&6&lKLIKNIJ":
		if line 2 of event-block is "&6&lPRAWYM":
			if line 4 of event-block is "&6&lDRWAL":
				open chest with 4 row named "&6&lSKLEP - &8[&9DRWAL&8]" to player
				wait 1 tick
				format slot 0 of player with orange glass to be unstealable
				format slot 9 of player with orange glass to be unstealable
				format slot 17 of player with orange glass to be unstealable
				format slot 25 of player with orange glass to be unstealable
				format slot 8 of player with red glass to be unstealable
				format slot 16 of player with red glass to be unstealable
				format slot 24 of player with red glass to be unstealable
				format slot 30 of player with red glass to be unstealable
				format slot 1 of player with wood named "&a&lKUP &8DREWNO" with lore "&cCENA: 100" to be unstealable to run [execute player command "/kup"]
				format slot 8 of player with wood named "&4&lSPRZEDAJ &8DREWNO" with lore "&cCENA: 100" to be unstealable to run [execute player command "/sprzedaj"]
				
command /kup:
	trigger:
		if player has 100 money:
			remove player 100 money:
			give player 64 wood
			
command /sprzedaj:
	trigger:
		if player has 64 wood:
			remove player 64 wood
			give player 100 money

nie wiem czy to wgl ma szanse działać :D

Daj errory jak to odpalisz , bo raczej będa

 

 

 

 

 

 

 

 

Ty wogóle nie zrobiłeś co chciałam   :( OMG mówiłam tylko drewno i żeby po prawej stronie byla czerwona welna (Sell) pod nia Limonkowa (Buy) i były wszystkie pary desek i drewna omg 

 

Masz przykład i dodaj sobie inne drewna + zmien kolory to nie trudne..

 

6 Errors 

can't understand this event: 'ign edit' (drwal.sk, line 1: ign edit:')
[18:33:10 ERROR]: '"/kup"]' is not a text (drwal.sk, line 24: format slot 1 of player with wood named "&a&lKUP &8DREWNO" with lore "&cCENA: 15" to be unstealable to run [execute player command "/kup"]')
[18:33:10 ERROR]: '"/sprzedaj"]' is not a text (drwal.sk, line 25: format slot 8 of player with wood named "&4&lSPRZEDAJ &8DREWNO" with lore "&cCENA: 10" to be unstealable to run [execute player command "/sprzedaj"]')
[18:33:10 ERROR]: '15 money' is not an item type (drwal.sk, line 29: if player has 15 money:')
[18:33:10 ERROR]: 'remove player 64 wood' is not a boolean (yes/no) (drwal.sk, line 36: remove player 64 wood')
[18:33:10 ERROR]: '10 money' is not an entity type (drwal.sk, line 37: give player 10 money')
[18:33:10 INFO]: [skript] Encountered 6 errors while reloading drwal.sk!
Opublikowano

open chest with (ILE max 5) row named "NAZWA" to player

format slot 0 ...

....

format slot 45 ...

Pomogłem? :P

 

Slot tam sobie dajesz red wool i podpisujesz pod nią komende.

409.jpg?7190

|---> Z o s t a n ę <---|

 

Zostanę technikiem na twój serwer minecraft, zrobie cały serwer według twojego pomysłu!
http://www.mpcforum.pl/topic/1486254-zostanę-technikiem-stworzę-serwer-twojego-pomysłu/#entry12589185

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...