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] Skrypt nie działa poprawnie.


natka468

Rekomendowane odpowiedzi

Opublikowano

skrypt mi nie chce działać. error na 5 linijce

 

on mine of stone:
        if player's gamemode is survival:
                if player's tool is pickaxe:
                        chance of 2.0%:
                                give 1 pumpkin named "&6HALLOWEEN"
                                drop 10 xp
on break Pumpkin:
    if name of player's tool is "&6HALLOWEEN":
        chance of 99%:
            give 1 322:1 or 5 322 or 13 pumpkin or 3 ender pearl or 12 diamond or 32 emerald or 10 tnt or 5 apple or 64 obsidian or 14 gold
            drop 100 xp
Opublikowano

on mine of stone:

        if player's gamemode is survival:

                if player's tool is pickaxe:

                        chance of 2.0%:

give 1 pumpkin named "&6HALLOWEEN"

                                drop 10 xp

on break Pumpkin:

    if name of player's tool is "&6HALLOWEEN":

        chance of 99%:

            give 1 322:1 or 5 322 or 13 pumpkin or 3 ender pearl or 12 diamond or 32 emerald or 10 tnt or 5 apple or 64 obsidian or 14 gold

            drop 100 Xp

Zobacz teraz

Służę pomocą również innym użytkownikom :) jak potrzeba pomocy zapraszam na pw na pewno pomogę

Opublikowano

Dlaczego wgl używasz skryptów? Nie lepiej poprosić kogos o pomoc żeby napisał ci pluginki?? Jak dla mnie skrypty to gówno.. Ale ok ;)

Opublikowano
on mine of stone:
    if player's gamemode is survival:
        if player's tool is pickaxe:
            chance of 2.0%:
                give 1 pumpkin named "&6HALLOWEEN" to player
                drop 10 xp
on break pumpkin:
    if name of player's tool is "&6HALLOWEEN":
        chance of 99%:
            give 1 322:1 or 5 322 or 13 pumpkin or 3 ender pearl or 12 diamond or 32 emerald or 10 tnt or 5 apple or 64 obsidian or 14 gold
            drop 100 xp

nie testowane.

 

sygnatura.png

Opublikowano

on mine of stone:

        if player's gamemode is survival:

                if player's tool is pickaxe:

                        chance of 2.0%:

give 1 pumpkin named "&6HALLOWEEN"

                                drop 10 xp

on break Pumpkin:

    if name of player's tool is "&6HALLOWEEN":

        chance of 99%:

            give 1 322:1 or 5 322 or 13 pumpkin or 3 ender pearl or 12 diamond or 32 emerald or 10 tnt or 5 apple or 64 obsidian or 14 gold

            drop 100 Xp

Zobacz teraz

[14:05:15] [server thread/ERROR]: [skript] indentation error: expected 0 spaces, but found 32 spaces (MAGICZNA SKRZYNKA.sk, line 6: drop 10 xp')
[14:05:15] [server thread/ERROR]: [skript] invalid line - all code has to be put into triggers (MAGICZNA SKRZYNKA.sk, line 5: give 1 pumpkin named "&6HALLOWEEN"')
[14:05:15] [server thread/ERROR]: [skript] '1' is not an entity type (MAGICZNA SKRZYNKA.sk, line 10: give 1 322:1 or 5 322 or 13 pumpkin or 3 ender pearl or 12 diamond or 32 emerald or 10 tnt or 5 apple or 64 obsidian or 14 gold')

Dlaczego wgl używasz skryptów? Nie lepiej poprosić kogos o pomoc żeby napisał ci pluginki?? Jak dla mnie skrypty to gówno.. Ale ok ;)

Jeżeli byś napisał to ok :3

on mine of stone:
    if player's gamemode is survival:
        if player's tool is pickaxe:
            chance of 2.0%:
                give 1 pumpkin named "&6HALLOWEEN" to player
                drop 10 xp
on break pumpkin:
    if name of player's tool is "&6HALLOWEEN":
        chance of 99%:
            give 1 322:1 or 5 322 or 13 pumpkin or 3 ender pearl or 12 diamond or 32 emerald or 10 tnt or 5 apple or 64 obsidian or 14 gold
            drop 100 xp

nie testowane.

 

[14:08:34] [server thread/ERROR]: [skript] indentation error: expected 0 spaces, but found 32 spaces (MAGICZNA SKRZYNKA.sk, line 6: drop 10 xp')
[14:08:34] [server thread/ERROR]: [skript] invalid line - all code has to be put into triggers (MAGICZNA SKRZYNKA.sk, line 5: give 1 pumpkin named "&6HALLOWEEN"')
[14:08:34] [server thread/ERROR]: [skript] '1' is not an entity type (MAGICZNA SKRZYNKA.sk, line 10: give 1 322:1 or 5 322 or 13 pumpkin or 3 ender pearl or 12 diamond or 32 emerald or 10 tnt or 5 apple or 64 obsidian or 14 gold')
Opublikowano

Ale z was nie iteligenci:

on mine of stone:

        if player's gamemode is survival:
                if player's tool is pickaxe:
                        chance of 2.0%:
                                give 1 pumpkin named "&6HALLOWEEN"
                                drop 10 xp
on break Pumpkin:
    if name of player's tool is "&6HALLOWEEN":
        chance of 99%:
            give 1 322:1 or 5 322 or 13 pumpkin or 3 ender pearl or 12 diamond or 32 emerald or 10 tnt or 5 apple or 64 obsidian or 14 gold
            drop 100 xp

to jest stary kod. On by ci zadziałał jakbyś zniszczył dynie za pomoca narzedzia ktory sie nazywa &6HALLOWEEN

 

po prostu zmien event na on place:

 

wtedy bedzie jak gracz położy dynię i kod będzie się zgadzał

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

 

Opublikowano

Ale z was nie iteligenci:

on mine of stone:

        if player's gamemode is survival:
                if player's tool is pickaxe:
                        chance of 2.0%:
                                give 1 pumpkin named "&6HALLOWEEN"
                                drop 10 xp
on break Pumpkin:
    if name of player's tool is "&6HALLOWEEN":
        chance of 99%:
            give 1 322:1 or 5 322 or 13 pumpkin or 3 ender pearl or 12 diamond or 32 emerald or 10 tnt or 5 apple or 64 obsidian or 14 gold
            drop 100 xp

to jest stary kod. On by ci zadziałał jakbyś zniszczył dynie za pomoca narzedzia ktory sie nazywa &6HALLOWEEN

 

po prostu zmien event na on place:

 

wtedy bedzie jak gracz położy dynię i kod będzie się zgadzał

jak tam niema nidzie event, wes mi go napisz xD

@natka468

A jakie wersje addonów? Czy posiadasz jakieś?

Nie mam xD

FAST!! potrzebny mi jest teraz ten skrypt

Opublikowano

Masz i łap :/ ::

on mine of stone:
	if player's gamemode is survival:
		chance of 2%:
			give 1 pumplin named "&6HALLOWEEN"
			drop 10 xp
			stop

on place:
	if name of player's tool is "&6HALLOWEEN":
		drop 100 xp
		chance of 10%:
			give 322:1 to the player
			stop
		chance of 10%:
			give 5 322 to the player
			stop
		chance of 10%:
			give 13 pumpkin to the player
			stop
		chance of 10%:
			give 3 ender pearl to the player
			stop
		chance of 10%:
			give 12 diamond to the player
			stop
		chance of 10%:
			give 32 emerald to the player
			stop
		chance of 10%:
			give 10 tnt to the player
			stop
		chance of 10%:
			give 5 apple to the player
			stop
		chance of 10%:
			give 64 obsidian to the player
			stop
		chance of 10%:
			give 14 gold ingot to the player
			stop
		

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

 

Opublikowano

 

Masz i łap :/ ::

on mine of stone:
	if player's gamemode is survival:
		chance of 2%:
			give 1 pumplin named "&6HALLOWEEN"
			drop 10 xp
			stop

on place:
	if name of player's tool is "&6HALLOWEEN":
		drop 100 xp
		chance of 10%:
			give 322:1 to the player
			stop
		chance of 10%:
			give 5 322 to the player
			stop
		chance of 10%:
			give 13 pumpkin to the player
			stop
		chance of 10%:
			give 3 ender pearl to the player
			stop
		chance of 10%:
			give 12 diamond to the player
			stop
		chance of 10%:
			give 32 emerald to the player
			stop
		chance of 10%:
			give 10 tnt to the player
			stop
		chance of 10%:
			give 5 apple to the player
			stop
		chance of 10%:
			give 64 obsidian to the player
			stop
		chance of 10%:
			give 14 gold ingot to the player
			stop
		

Cały czas error powstaje: [14:41:16] [server thread/ERROR]: [skript] '1' is not an entity type (HALLOWEEN.sk, line 4: give 1 pumpkin named "&6HALLOWEEN"')

Opublikowano

zmień tą linijkę na :

give 1 pumpkin named "&6HALLOWEEN" to the player

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

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...