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 - funkcje.


Rekomendowane odpowiedzi

Opublikowano

Siemka mozecie mi pomuc w napisaniu tych dodatków co napisane jezeli już piszećie cały kod z tym co juz tu wam dałem ! smiało pod tematem + jezeli piszesz ranking to ma być ranking zabitych graczy z innej gildi jezeli gracz nie ma gildi i gildia go dednie nie zapisują sie pkty tylko jak wpiszesz wojna + tag gildi z ktorą chcesz wojne i oni zakceptoją to w tedy czynają sie liczyć punkty gdy masz duzo pkt i wygrales wojne to mozesz przejąc gildi teren! + zeby blokowao tag powyzej 3  Liter cyfr !             


Przed daniem mi skriptu gotowego przetestuj ! Like za pomoc!


Ujawnij SB


Funkcie do dopisania dla gildi



send "&6** &2/gildia przejmij &c<tag> <win> &2- przejmowanie gildi" # jezeli ktos wygra wojne to moze przejac gildie
                        send "&6** &2/gildia messages &c<Wiadomosc> &2- Wiadomosc wejscia i wyjsca z cuboida"
                        send "&6** &2/gildia ranking &c<tag> &2- Ranking gildi "
                        send "&6** &2/gildia info &c<tag> &2- Informacje gildi " # jezeli jestes w gildi pokazuje kordy !
send "&6** &2/gildia baza &2- Teleportaca 5sek bazy! " #

Cały Kod gildi !



if arg 1 is "ga reload":
                        send "&2Reloadowanie Pluginiu."
                        execute console command "sk reload Gildie"
                        send "&2Gildie przeladowano"
                        stop
                if arg 1 is "itemy":
                        send "&2Potrzebujesz: &c{@pay1}, {@pay2}, {@pay3}, {@pay4}, {@pay5}, {@pay6}"
                        stop
                if arg 1 is "zaloz":
                        if arg 2 is set:
                                if arg 3 is set:
                                        if player has {@pay1}:
                                                if player has {@pay2}:
                                                        if player has {@pay3}:
                                                                if player has {@pay4}:
                                                                        if player has {@pay5}:
                                                                                if player has {@pay6}:
                                                                                        if arg 2 is set:
                                                                                                set {nazwa.%player%} to arg 2
                                                                                                if arg 3 is set:
                                                                                                        set {tag.%player%} to arg 3
                                                                                                        send "            &7 Zabezpieczenie &8- &aTworzenie ..."
                                                                                                        set {pos%player%} to location of player
                                                                                                        set {pos1%player%} to {pos%player%}
                                                                                                        send "&c Zakladanie Gildi nie ruszaj sie"
                                                                                                        wait 1 second
                                                                                                        if {_pos} isn't location of player:
                                                                                                                send "    &c&lWykryto ruch, zakladanie anulowane !!"
                                                                                                                stop
                                                                                                        wait 1 second
                                                                                                        set block 0.1 meter above player to bedrock
                                                                                                        execute console command "//pos1"
                                                                                                        execute console command "//pos2"
                                                                                                        execute console command "//expand 35 n"
                                                                                                        execute console command "//expand 34 s"
                                                                                                        execute console command "//expand 35 w"
                                                                                                        execute console command "//expand 34 e"
                                                                                                        execute console command "//expand vert"
                                                                                                        execute console command "rg define %name of player%"
                                                                                                        execute console command "rg addowner -w world %name of player% %name of player%"
                                                                                                        set {owner%player%} to 1
                                                                                                        send ""
                                                                                                        send " "
                                                                                                        send "  "
                                                                                                        send "   "
                                                                                                        send "    "
                                                                                                        send "     "
                                                                                                        send "      "
                                                                                                        send "       "
                                                                                                        send "        "
                                                                                                        send "         "
                                                                                                        send "          "
                                                                                                        send "           "
                                                                                                        send "            "
                                                                                                        send "             "
                                                                                                        send "              "
                                                                                                        send "               "
                                                                                                        send "x"
                                                                                                        send ""
                                                                                                        send " "
                                                                                                        send "  "
                                                                                                        send "   "
                                                                                                        send "    "
                                                                                                        send "     "
                                                                                                        send "      "
                                                                                                        send "       "
                                                                                                        send "        "
                                                                                                        send "         "
                                                                                                        send "          "
                                                                                                        send "           "
                                                                                                        send "            "
                                                                                                        send "             "
                                                                                                        send "              "
                                                                                                        send "               "
                                                                                                        send ""
                                                                                                        send " "
                                                                                                        send "  "
                                                                                                        send "   "
                                                                                                        send "    "
                                                                                                        send "     "
                                                                                                        send "      "
                                                                                                        send "       "
                                                                                                        send "        "
                                                                                                        send "         "
                                                                                                        send "          "
                                                                                                        send "           "
                                                                                                        send "            "
                                                                                                        send "             "
                                                                                                        send "              "
                                                                                                        send "               "
                                                                                                        send "x"
                                                                                                        send ""
                                                                                                        send " "
                                                                                                        send "  "
                                                                                                        send "   "
                                                                                                        send "    "
                                                                                                        send "     "
                                                                                                        send "      "
                                                                                                        send "       "
                                                                                                        send "        "
                                                                                                        send "         "
                                                                                                        send "          "
                                                                                                        send "           "
                                                                                                        send "            "
                                                                                                        send "             "
                                                                                                        send "              "
                                                                                                        send "               "
                                                                                                        send ""
                                                                                                        send " "
                                                                                                        send "  "
                                                                                                        send "   "
                                                                                                        send "    "
                                                                                                        send "     "
                                                                                                        send "      "
                                                                                                        send "       "
                                                                                                        send "        "
                                                                                                        send "         "
                                                                                                        send "          "
                                                                                                        send "           "
                                                                                                        send "            "
                                                                                                        send "             "
                                                                                                        send "              "
                                                                                                        send "               "
                                                                                                        send "x"
                                                                                                        send ""
                                                                                                        send " "
                                                                                                        send "  "
                                                                                                        send "   "
                                                                                                        send "    "
                                                                                                        send "     "
                                                                                                        send "      "
                                                                                                        send "       "
                                                                                                        send "        "
                                                                                                        send "         "
                                                                                                        send "          "
                                                                                                        send "           "
                                                                                                        send "            "
                                                                                                        send "             "
                                                                                                        send "              "
                                                                                                        send "               "
 
                                                                                                        send "                   Zabezpieczenie &8- &aStworzone ..."
                                                                                                        send "            &8Srodek gildii wyznacza Bedrock"
                                                                                                        send "    &8Dzialka ma rozmiary &c100 x 100.&8 Mozesz ja powiekszac za oplata."
                                                                                                        send "           &8Wiecej informacji pod komenda &a&l/gildia&8."
                                                                                                        remove {@pay1} from player
                                                                                                        remove {@pay2} from player
                                                                                                        remove {@pay3} from player
                                                                                                        remove {@pay4} from player
                                                                                                        remove {@pay5} from player
                                                                                                        remove {@pay6} from player
                                                                                                        broadcast "&cGracz &6%player% &cZalozyl gildie o nazwie %{&6nazwa.%player%}% &f[&c%{tag.%player%}%&f]"
                                                                                                        set the player's display name to "[&c%{tag.%player%}%&f] %name of player%"
                                                                                                        set the player's tablist name to "[&c%{tag.%player%}%&f] %name of player%"
                                                                                                        add 1 to {limit%player%}
                                                                                                        stop
                                                                                else:
                                                                                        send "&cNie posiadasz {@pay6}"
                                                                        else:
                                                                                send "&cNie posiadasz {@pay5}"
                                                                else:
                                                                        send "&cNie posiadasz {@pay4}"
                                                        else:
                                                                send "&cNie posiadasz {@pay3}"
                                                else:
                                                        send "&c Nie posiadsz {@pay2}"
                                        else:
                                                send "&cNie posiadasz {@pay1}"
                                if arg 3 is not set:           
                                        send "&cPodaj tag gildii"      
                        if arg 2 is not set:
                                send "&cPodaj nazwe gildii"
                               
                                       
                                               
                if arg 1 is "zapros":
                        if {owner%player%} or {moderator%player%} is 1:
                                if arg 2 is player:
                                        execute player command "rg addmember %arg 2%"
                                        send "&2Zaprosiles gracza &7%arg 2% do gildii"
                                        broadcast "&2Gracz &7%arg 2% &2zostal zaproszony do gildii &c%{nazwa.%player%}%"
                                        set the player's display name to "&6[&c%{tag.%player%}%&6]&7 %name of player%"
                                        set the player's tablist name to "&c[%{tag.%player%}%]%name of player%"
                                        set {czlonek%arg 2%%{nazwa%player%}%} to 1
                                        send {tag.%player%} to {tag.%arg 2%}
                               
                                else:
                                        send "&cPodales bledny nick, lub gracz nie jest online"
                                if arg 2 is not set:
                                        send "&cPodaj nick gracza"
                        stop
                if arg 1 is "wyrzuc":
                        if {owner%player%} or {moderator%player%} is 1:
                                if arg 2 is player:
                                        execute player command "rg removemember %arg 2%"
                                        send "&2Wyrzuciles gracza &7%arg 2% &2z gildii"
                                        broadcast "&2Gracz &7%arg 2% &2zostal wyrzucony z gildii &c%{nazwa.%player%}%"
                                        set the player's display name to "&7%name of player%"
                                        set the player's tablist name to "&7%name of player%"
                                        set {czlonek%arg 2%%{nazwa%player%}%} to 0
                                else:
                                        send "&cPodales bledny nick, lub gracz nie jest online"
                                if arg 2 is not set:
                                        send "&cPodaj nick gracza"
                        stop
                if arg 1 is "usun":
                        if {owner%player%} is 1:
                                execute console command "rg del %name of player%"
                                send "&cUsunoles gildie"
                                broadcast "&2Gracz &7%player% &2usunal gildie &c%{nazwa.%player%}%"
                                broadcast "&2Koordy terenu usunietej gildii to &6%{pos1%player%}%"
                                set the player's display name to "&7%name of player%"
                                set the player's tablist name to "&7%name of player%"
                                set {limit%player%} to 0
                                set {owner%player%} to 0
                        else:
                                send "&cNie posiadasz gildii"
                        stop
                if arg 1 is "awansuj":
                        if  {owner%player%} is 1:
                                if arg 2 is player:
                                        set {moderator%arg 2%} to 1
                                        send "Awansowales %arg 2% na moderatora gildii"
                                else:
                                        send "&cPodales bledny nick gracza, lub gracz nie jest online"
                                if arg 2 is not set:
                                        send "&cPodaj nick gracza"
                        else:
                                send "&cNie jestes zalozycielem gildii"
                if arg 1 is "degraduj":
                        if {owner%player%} is 1:
                                if arg 2 is player:
                                        if {czlonek%arg 2%%{nazwa%player%}%} is 1:
                                                if {moderator%arg 2%} is 1:
                                                        set {moderator%arg 2%} to 0
                                                        send "&cDegradowales %arg 2% do rangi czlonka"
                                                else:
                                                        send "&cGracz nie jest moderatorem gildii"
                                        else:
                                                send "&cGracz nie jest czlonkiem twojej gildi"
                                else:
                                        send "&cPodales bledny nick gracza, lub gracz nie jest online"
                        else:
                                send "7cNie jestes zalozycielem gildii"
                                if {owner%player%} is 0:
                                        send "&cNie posiadasz gildii"  
on command "/gildia zaloz":
        if {owner%player%} is 1:
                if {limit%player%} is 1:
                        send "&cMasz juz jedna gilide"
                        cancel event

post-1084072-0-00339900-1389814077.png

Opublikowano

@UP .

Chcesz tylko zeby ktos ci dopisal cos do skryptu na gildie . 

Ale na 86% mpcforum tego nie napisze za free.

 

Czemu nie uzyjesz UltimateClans2 ?

Opublikowano

Jak nie umiesz języku Skriptu to nie pisz w nim banalne..
Użyj lepiej UC Edytowane :D

#Jeżeli owy administrator dał mi warna, proszę przeczytaj:

Forum dyskusyjne – przeniesiona do struktury stron WWW forma grup dyskusyjnych, która służy do wymiany informacji i poglądów między osobami o podobnych zainteresowaniach przy użyciu przeglądarki internetowej. Na Forum nie istnieje off-topic, połowa administracja mpcforum nie wie co to "off-topic"...

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...