Skocz do zawartości
  • 0

Skrypt na drużyny RedVSBlue


MajorMC

Pytanie

Witam mam zlecenie na Skrypt na Drużyny :v  ,że dochodzą do Drużyny Tabliczką Naprzykład [PVP]

                                                                                                                                              dolacz

                                                                                                                                                red oraz blue

i wychodzą [PVP]  

                  wyjdz

                   

i ,żeby gracz nie mógł bić swojego kolegi z Drużyny 

oraz Ustawienie Spawnów Drużyn komendami i ,żeby wyjsć z Areny komendą /wyjdz która usuwa z Drużyny i teleportuje na spawna

Pozdrawiam MajorMC

Proszę szybko o Skrypt  ^^

Edytowane przez MajorMC
Odnośnik do komentarza
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

on rightclick on sign:

if line 1 is "[PVP]":

line 3 is "&4Red":

set {team.%player%} to "red"

if line 1 is "[PVP]":

line 3 is "&1Blue":

set {team.%player%} to "blue"

Skrypt na teamy

Tabliczka:

Dolaczanie do red:

[PVP]

&4Red

Dolaczanie do Blue:

[PVP]

&1Blue

on damage of player:

if {team.%attacker%} is "blue":

if {team.%victim%} is "blue":

cancel event

send "&lTo jest twoj &1Team"

if {team.%attacker%} is "red":

if {team.%victim%} is "red":

cancel event

send "&lTo jest twoj &4Team"

Trzymaj tu skrypt na to aby nie mogli bic swoich mozesz sobie go zeedytowac

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

masz z komendami

command /dolacz [<text&gt]:    trigger:        if arg 1 is set:            if {dr.%player%} is not set:                if arg 1 is "red" or "blue":                    set {dr.%player%} to "%arg 1%"                    broadcast "&7Gracz %player% wybral druzyne %arg 1%!"                else:                    send "&7Istnieja druzyny: red oraz blue!"               else:                send "&7Jestes juz w druzynie!"        else:            send "&7Uzycie: /dolacz <red|blue>"command /wyjdz:    trigger:        if {dr.%player%} is set:            broadcast "&7Gracz %player% opuscil druzyne %{dr.%player%}%!"            delete {dr.%player%}        else:            send "&7Nie jestes w zadnej druzynie!"on damage:    if {dr.%attacker%} is {dr.%victim%}:        cancel event        send "&7Nie mozesz bic %victim%!"
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

 

masz z komendami

 

 

masz z komendami

command /dolacz [<text&gt]:    trigger:        if arg 1 is set:            if {dr.%player%} is not set:                if arg 1 is "red" or "blue":                    set {dr.%player%} to "%arg 1%"                    broadcast "&7Gracz %player% wybral druzyne %arg 1%!"                else:                    send "&7Istnieja druzyny: red oraz blue!"               else:                send "&7Jestes juz w druzynie!"        else:            send "&7Uzycie: /dolacz <red|blue>"command /wyjdz:    trigger:        if {dr.%player%} is set:            broadcast "&7Gracz %player% opuscil druzyne %{dr.%player%}%!"            delete {dr.%player%}        else:            send "&7Nie jestes w zadnej druzynie!"on damage:    if {dr.%attacker%} is {dr.%victim%}:        cancel event        send "&7Nie mozesz bic %victim%!"

,a Ustawienie Spawnu drużynom i  jak wpiszom /wyjdz to teleportuje ich na główny spawn

command /dolacz [<text&gt]:    trigger:        if arg 1 is set:            if {dr.%player%} is not set:                if arg 1 is "red" or "blue":                    set {dr.%player%} to "%arg 1%"                    broadcast "&7Gracz %player% wybral druzyne %arg 1%!"                else:                    send "&7Istnieja druzyny: red oraz blue!"               else:                send "&7Jestes juz w druzynie!"        else:            send "&7Uzycie: /dolacz <red|blue>"command /wyjdz:    trigger:        if {dr.%player%} is set:            broadcast "&7Gracz %player% opuscil druzyne %{dr.%player%}%!"            delete {dr.%player%},
Odnośnik do komentarza
Udostępnij na innych stronach

  • 1

<p>command /miejsce:</p>

<p>    trigger:</p>

<p>        if player has permission "*":</p>

<p>            set {miejsce} to location of the player</p>

<p>            send "&7Ustawiles spawn dla druzyn!"</p>

<p>        else:</p>

<p>            send "&7Nie masz uprawnien!"</p>

<p> </p>

<div>command /wyjdz:</div>

<div>    trigger:</div>

<div>        if {dr.%player%} is set:</div>

<div>            broadcast "&7Gracz %player% opuscil druzyne %{dr.%player%}%!"</div>

<div>            delete {dr.%player%}</div>

<div>                        teleport player to {miejsce}</div>

<div>                else:</div>

<div>                    send "&7Nie masz druzyny!"</div>

<div> </div>

<div>@EDIT</div>

<div>

<pre class="_prettyXprint">

command /miejsce [<text&gt]:

trigger:

if arg 1 is not set:

send "&7Uzycie: /miejsce <red|blue>"

if arg 1 is "red":

set {dr.red} to location of the player

send "&7Ustawiles spawn dla druzyny red!"

if arg 1 is "blue":

set {dr.blue} to location of the player

send "&7Ustawiles spawn dla druzyny blue!"

command /spawn:

trigger:

if {dr.%player%} is not set:

send "&7Nie masz druzyny!"

if {dr.%player%} is "red":

teleport player to {dr.red}

if {dr.%player%} is "blue":

teleport player to {dr.blue}

</pre>

<p> </p>

</div>

<div> </div>

<div> </div>

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...