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

Pomoc dotycząca skryptu na świniarkę - nazwy.


sepit22

Rekomendowane odpowiedzi

Opublikowano

 

 

options:
        logo: &c[ &f&lMC-Drop &c]
every 5 real seconds:
        if {DragoPIG.spawn.1} is set:
                spawn 1 pig at {DragoPIG.spawn.1}
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.1}
                ignite last spawned pig
        if {DragoPIG.spawn.2} is set:
                spawn 1 pig at {DragoPIG.spawn.2}
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.2}
                ignite last spawned pig
        if {DragoPIG.spawn.3} is set:
                spawn 1 pig at {DragoPIG.spawn.3}
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.3}
                ignite last spawned pig
        if {DragoPIG.spawn.4} is set:
                spawn 1 pig at {DragoPIG.spawn.4}
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.4}
                ignite last spawned pig
        if {DragoPIG.spawn.5} is set:
                spawn 1 pig at {DragoPIG.spawn.5}
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.5}
                ignite last spawned pig
        if {DragoPIG.spawn.6} is set:
                spawn 1 pig at {DragoPIG.spawn.6}
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.6}
                ignite last spawned pig
command /dragopigreset:
        trigger:
                if player has permission "DragoPIG.reset":
                        delete {DragoPIG.spawn.1}
                        delete {DragoPIG.spawn.2}
                        delete {DragoPIG.spawn.3}
                        delete {DragoPIG.spawn.4}
                        delete {DragoPIG.spawn.5}
                        delete {DragoPIG.spawn.6}
                        send "{@logo} &cSpawn dla swin zostal usuniety !"
                        stop
                else:
                        send "{@logo} &cNie masz uprawnien !"
                        stop
command /dragopig [<text>]:
        trigger:
                if player has permission "DragoPIG.set":
                        if arg 1 is "1":
                                set {DragoPIG.spawn.1} to location of player
                                send "{@logo} &cUstawiles spawn numer 1"
                                stop
                        if arg 1 is "2":
                                set {DragoPIG.spawn.2} to location of player
                                send "{@logo} &cUstawiles spawn numer 2"
                                stop
                        if arg 1 is "3":
                                set {DragoPIG.spawn.3} to location of player
                                send "{@logo} &cUstawiles spawn numer 3"
                                stop
                        if arg 1 is "4":
                                set {DragoPIG.spawn.4} to location of player
                                send "{@logo} &cUstawiles spawn numer 4"
                                stop
                        if arg 1 is "5":
                                set {DragoPIG.spawn.5} to location of player
                                send "{@logo} &cUstawiles spawn numer 5"
                                stop
                        if arg 1 is "6":
                                set {DragoPIG.spawn.6} to location of player
                                send "{@logo} &cUstawiles spawn numer 6"
                                stop
                        else:
                                send "{@logo} &cUzycie: /dragopig 1/2/3/4/5/6"
                                stop
                else:
                        send "{@logo} &cNie posiadasz uprawnien !"

                            stop

 

 

 

Chce aby swinie mialy nazw np Mc-Drop jak się respija jak dedaja aby miesa mialo nazw mc-drop

Opublikowano

 

 

options:

        logo: &c[ &f&lMC-Drop &c]

every 5 real seconds:

        if {DragoPIG.spawn.1} is set:

                spawn 1 pig at {DragoPIG.spawn.1}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.1}

                ignite last spawned pig

        if {DragoPIG.spawn.2} is set:

                spawn 1 pig at {DragoPIG.spawn.2}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.2}

                ignite last spawned pig

        if {DragoPIG.spawn.3} is set:

                spawn 1 pig at {DragoPIG.spawn.3}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.3}

                ignite last spawned pig

        if {DragoPIG.spawn.4} is set:

                spawn 1 pig at {DragoPIG.spawn.4}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.4}

                ignite last spawned pig

        if {DragoPIG.spawn.5} is set:

                spawn 1 pig at {DragoPIG.spawn.5}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.5}

                ignite last spawned pig

        if {DragoPIG.spawn.6} is set:

                spawn 1 pig at {DragoPIG.spawn.6}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.6}

                ignite last spawned pig

command /dragopigreset:

        trigger:

                if player has permission "DragoPIG.reset":

                        delete {DragoPIG.spawn.1}

                        delete {DragoPIG.spawn.2}

                        delete {DragoPIG.spawn.3}

                        delete {DragoPIG.spawn.4}

                        delete {DragoPIG.spawn.5}

                        delete {DragoPIG.spawn.6}

                        send "{@logo} &cSpawn dla swin zostal usuniety !"

                        stop

                else:

                        send "{@logo} &cNie masz uprawnien !"

                        stop

command /dragopig [<text>]:

        trigger:

                if player has permission "DragoPIG.set":

                        if arg 1 is "1":

                                set {DragoPIG.spawn.1} to location of player

                                send "{@logo} &cUstawiles spawn numer 1"

                                stop

                        if arg 1 is "2":

                                set {DragoPIG.spawn.2} to location of player

                                send "{@logo} &cUstawiles spawn numer 2"

                                stop

                        if arg 1 is "3":

                                set {DragoPIG.spawn.3} to location of player

                                send "{@logo} &cUstawiles spawn numer 3"

                                stop

                        if arg 1 is "4":

                                set {DragoPIG.spawn.4} to location of player

                                send "{@logo} &cUstawiles spawn numer 4"

                                stop

                        if arg 1 is "5":

                                set {DragoPIG.spawn.5} to location of player

                                send "{@logo} &cUstawiles spawn numer 5"

                                stop

                        if arg 1 is "6":

                                set {DragoPIG.spawn.6} to location of player

                                send "{@logo} &cUstawiles spawn numer 6"

                                stop

                        else:

                                send "{@logo} &cUzycie: /dragopig 1/2/3/4/5/6"

                                stop

                else:

                        send "{@logo} &cNie posiadasz uprawnien !"

 

                            stop

 

 

 

JAK DAC NAZWE TYM SWINIAM HELLPP

Jeśli chcesz, aby ktoś Ci pomógł, to opisz dokładniej problem, bo sam kod nam nic nie mówi. 

Opublikowano

 

 

 

options:

        logo: &c[ &f&lMC-Drop &c]

every 5 real seconds:

        if {DragoPIG.spawn.1} is set:

                spawn 1 pig at {DragoPIG.spawn.1}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.1}

                ignite last spawned pig

        if {DragoPIG.spawn.2} is set:

                spawn 1 pig at {DragoPIG.spawn.2}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.2}

                ignite last spawned pig

        if {DragoPIG.spawn.3} is set:

                spawn 1 pig at {DragoPIG.spawn.3}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.3}

                ignite last spawned pig

        if {DragoPIG.spawn.4} is set:

                spawn 1 pig at {DragoPIG.spawn.4}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.4}

                ignite last spawned pig

        if {DragoPIG.spawn.5} is set:

                spawn 1 pig at {DragoPIG.spawn.5}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.5}

                ignite last spawned pig

        if {DragoPIG.spawn.6} is set:

                spawn 1 pig at {DragoPIG.spawn.6}

                ignite last spawned pig

                spawn 1 pig at {DragoPIG.spawn.6}

                ignite last spawned pig

command /dragopigreset:

        trigger:

                if player has permission "DragoPIG.reset":

                        delete {DragoPIG.spawn.1}

                        delete {DragoPIG.spawn.2}

                        delete {DragoPIG.spawn.3}

                        delete {DragoPIG.spawn.4}

                        delete {DragoPIG.spawn.5}

                        delete {DragoPIG.spawn.6}

                        send "{@logo} &cSpawn dla swin zostal usuniety !"

                        stop

                else:

                        send "{@logo} &cNie masz uprawnien !"

                        stop

command /dragopig [<text>]:

        trigger:

                if player has permission "DragoPIG.set":

                        if arg 1 is "1":

                                set {DragoPIG.spawn.1} to location of player

                                send "{@logo} &cUstawiles spawn numer 1"

                                stop

                        if arg 1 is "2":

                                set {DragoPIG.spawn.2} to location of player

                                send "{@logo} &cUstawiles spawn numer 2"

                                stop

                        if arg 1 is "3":

                                set {DragoPIG.spawn.3} to location of player

                                send "{@logo} &cUstawiles spawn numer 3"

                                stop

                        if arg 1 is "4":

                                set {DragoPIG.spawn.4} to location of player

                                send "{@logo} &cUstawiles spawn numer 4"

                                stop

                        if arg 1 is "5":

                                set {DragoPIG.spawn.5} to location of player

                                send "{@logo} &cUstawiles spawn numer 5"

                                stop

                        if arg 1 is "6":

                                set {DragoPIG.spawn.6} to location of player

                                send "{@logo} &cUstawiles spawn numer 6"

                                stop

                        else:

                                send "{@logo} &cUzycie: /dragopig 1/2/3/4/5/6"

                                stop

                else:

                        send "{@logo} &cNie posiadasz uprawnien !"

 

                            stop

 

 

 

JAK DAC NAZWE TYM SWINIAM HELLPP

Jeśli chcesz, aby ktoś Ci pomógł, to opisz dokładniej problem, bo sam kod nam nic nie mówi. 

 

juz :D

Opublikowano

 

 

options:
        logo: &c[ &f&lMC-Drop &c]
every 5 real seconds:
        if {DragoPIG.spawn.1} is set:
                spawn 1 pig at {DragoPIG.spawn.1} named "MC-drop"
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.1} named "MC-drop"
                ignite last spawned pig
        if {DragoPIG.spawn.2} is set:
                spawn 1 pig at {DragoPIG.spawn.2} named "MC-drop"
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.2} named "MC-drop"
                ignite last spawned pig
        if {DragoPIG.spawn.3} is set:
                spawn 1 pig at {DragoPIG.spawn.3} named "MC-drop"
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.3} named "MC-drop"
                ignite last spawned pig
        if {DragoPIG.spawn.4} is set:
                spawn 1 pig at {DragoPIG.spawn.4} named "MC-drop"
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.4} named "MC-drop"
                ignite last spawned pig
        if {DragoPIG.spawn.5} is set:
                spawn 1 pig at {DragoPIG.spawn.5} named "MC-drop"
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.5} named "MC-drop"
                ignite last spawned pig
        if {DragoPIG.spawn.6} is set:
                spawn 1 pig at {DragoPIG.spawn.6} named "MC-drop"
                ignite last spawned pig
                spawn 1 pig at {DragoPIG.spawn.6} named "MC-drop"
                ignite last spawned pig

on death:

    victim is a pig:

        drop a cooked porkchop named "MC-drop"

command /dragopigreset:
        trigger:
                if player has permission "DragoPIG.reset":
                        delete {DragoPIG.spawn.1}
                        delete {DragoPIG.spawn.2}
                        delete {DragoPIG.spawn.3}
                        delete {DragoPIG.spawn.4}
                        delete {DragoPIG.spawn.5}
                        delete {DragoPIG.spawn.6}
                        send "{@logo} &cSpawn dla swin zostal usuniety !"
                        stop
                else:
                        send "{@logo} &cNie masz uprawnien !"
                        stop
command /dragopig [<text>]:
        trigger:
                if player has permission "DragoPIG.set":
                        if arg 1 is "1":
                                set {DragoPIG.spawn.1} to location of player
                                send "{@logo} &cUstawiles spawn numer 1"
                                stop
                        if arg 1 is "2":
                                set {DragoPIG.spawn.2} to location of player
                                send "{@logo} &cUstawiles spawn numer 2"
                                stop
                        if arg 1 is "3":
                                set {DragoPIG.spawn.3} to location of player
                                send "{@logo} &cUstawiles spawn numer 3"
                                stop
                        if arg 1 is "4":
                                set {DragoPIG.spawn.4} to location of player
                                send "{@logo} &cUstawiles spawn numer 4"
                                stop
                        if arg 1 is "5":
                                set {DragoPIG.spawn.5} to location of player
                                send "{@logo} &cUstawiles spawn numer 5"
                                stop
                        if arg 1 is "6":
                                set {DragoPIG.spawn.6} to location of player
                                send "{@logo} &cUstawiles spawn numer 6"
                                stop
                        else:
                                send "{@logo} &cUzycie: /dragopig 1/2/3/4/5/6"
                                stop
                else:
                        send "{@logo} &cNie posiadasz uprawnien !"

                            stop

 

 

 

Pamiętaj, aby wszystko dobrze wytabować, dla ułatwienia rzeczy, które dodałem są zaznaczone na czerwono.

Opublikowano

Twój kod:

spawn 1 pig at {DragoPIG.spawn.1}

Aby świnka miała nazwę muszisz zrobić coś takiego:

spawn 1 pig named "<NAZWA>" at {DragoPIG.spawn.1}

­

706_sygnatura.jpg

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...