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

Skrypt w stylu ... tylko by działał (ja nie potrafie)..


syberia97

Rekomendowane odpowiedzi

Opublikowano

on command: /sklep 

if player is on world skyblock use command /warp sklep-sk

if player is on world freebuild use command /warp sklep-fb

if player is on world freebuild_surowcowa use command /warp sklep-fb

if player is on world freebuild_x44 use command /warp sklep-fb

if player is on world freebuild_x16 use command /warp sklep-fb

 

chyba rozumiecie proszę o pomoc daje naj..

Opublikowano

Proszę:

on command:
	if command is "sklep"
		if player is on world skyblock:
			execute player command "warp sklep-sk"
		if player is on world freebuild:
			execute player command "warp sklep-fb"
		if player is on world freebuild_surowcowa:
			execute player command "warp sklep-fb"
		if player is on world freebuild_x44:
			execute player command "warp sklep-fb"
		if player is on world freebuild_x16:
			execute player command "warp sklep-fb" 

NIE TESTOWANY

Straszę już forum od

20 CZERWCA 2015r.

Blaaaaaarg*

*Lubię Isaaca, opis Shoopu Da Whoopu

Opublikowano


[19:25:40] [Server thread/ERROR]: [Skript] indentation error: expected 1 tab, but found 2 tabs (aliasy.sk, line 3: if player is on world skyblock:')

[19:25:40] [Server thread/ERROR]: [Skript] indentation error: expected 1 tab, but found 3 tabs (aliasy.sk, line 4: execute player command "warp sklep-sk"')

[19:25:40] [Server thread/ERROR]: [Skript] indentation error: expected 1 tab, but found 2 tabs (aliasy.sk, line 5: if player is on world freebuild:')

[19:25:40] [Server thread/ERROR]: [Skript] indentation error: expected 1 tab, but found 3 tabs (aliasy.sk, line 6: execute player command "warp sklep-fb"')

[19:25:40] [Server thread/ERROR]: [Skript] indentation error: expected 1 tab, but found 2 tabs (aliasy.sk, line 7: if player is on world freebuild_surowcowa:')

[19:25:40] [Server thread/ERROR]: [Skript] indentation error: expected 1 tab, but found 3 tabs (aliasy.sk, line 8: execute player command "warp sklep-fb"')

[19:25:40] [Server thread/ERROR]: [Skript] indentation error: expected 1 tab, but found 2 tabs (aliasy.sk, line 9: if player is on world freebuild_x44:')

[19:25:40] [Server thread/ERROR]: [Skript] indentation error: expected 1 tab, but found 3 tabs (aliasy.sk, line 10: execute player command "warp sklep-fb"')

[19:25:40] [Server thread/ERROR]: [Skript] indentation error: expected 1 tab, but found 2 tabs (aliasy.sk, line 11: if player is on world freebuild_x16:')

[19:25:40] [Server thread/ERROR]: [Skript] indentation error: expected 1 tab, but found 3 tabs (aliasy.sk, line 12: execute player command "warp sklep-fb"')

[19:25:40] [Server thread/ERROR]: [Skript] 'if command' is not an entity type (aliasy.sk, line 2: if command is "sklep"')

Opublikowano

Kod:

on command:
	command is "sklep":
		world "skyblock":
			execute player command "warp sklep-sk"
			stop
		world is "freebuild":
			execute player command "warp sklep-fb"
			stop
		world is "freebuild_surowcowa":
			execute player command "warp sklep-fb"
			stop
		world is "freebuild_x44":
			execute player command "warp sklep-fb"
			stop
		world is "freebuild_x16":
			execute player command "warp sklep-fb" 
			stop
		send "&6Blad: &7Na tym swiecie nie ma sklepu."
1438614356923701010629.png
Opublikowano

Poprawka:

on command:
	command is "sklep":
		world is "skyblock":
			execute player command "warp sklep-sk"
			stop
		world is "freebuild":
			execute player command "warp sklep-fb"
			stop
		world is "freebuild_surowcowa":
			execute player command "warp sklep-fb"
			stop
		world is "freebuild_x44":
			execute player command "warp sklep-fb"
			stop
		world is "freebuild_x16":
			execute player command "warp sklep-fb" 
			stop
		send "&6Blad: &7Na tym swiecie nie ma sklepu."

Dzięki wielkie! - Może ktoś pomóc mi jeszcze w usunięciu wiadomości "ze komęda jest nie znana ?" (po wykonaniu komendy /sklep)

Opublikowano

@syberia97 cancel event :)

on command:
	command is "sklep":
                cancel event
		world is "skyblock":

Jeżeli pomogłem, daj + Ciebie nic nie kosztuje Mi znaczy wiele.

 

 

 

 

 

 

 

Zachęcam do podsyłania pomysłów na film jako poradniki na YouTube

 

  • 2 tygodnie później...

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...