Skocz do zawartości
  • 0

Proszę o pomoc


VeruZ

Pytanie

Witam, kolega z forum napisał mi taki skrypcik:

on first join:
if player is op:
set {Admin.%player%} to TRUE
Command /adm:
permission: admin
trigger:
if {admin.%player%} is TRUE:
set {admin.pos.%player%} to location of player
restore inventory of player from
 {eq.%player%}
 
deop %player%
teleport player to {ostatnie.admin.%player%}
set {admin.%player%} to FALSE
if {admin.%player} is FALSE:
set {admin.%player%} to TRUE
set {eq.%player%} to serialized inventory of player
op %player%

 

Niestety nie działa, z tego co wiem to jest chyba źle wytabowany.

Odnośnik do komentarza
https://skript.pl/temat/1363-prosz%C4%99-o-pomoc/
Udostępnij na innych stronach

10 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Spróbuj to

|

|

|

/

on first join:    if player is op:	    set {Admin.%player%} to TRUE#command /adm [<text&gt]:	trigger:        if arg 1 is "gracz":            if player has permission "admin":		        set {admin.pos.%player%} to location of player		        restore inventory of player from {eq.%player%}			    deop %player%	    if arg 1 is "admin":            if player has permission "admin":		        set {eq.%player%} to serialized inventory of player		        op %player%                teleport player to {admin.pos.%player%}
Edytowane przez Hakushami
Odnośnik do komentarza
https://skript.pl/temat/1363-prosz%C4%99-o-pomoc/#findComment-10839
Udostępnij na innych stronach

  • 0

Taka uwaga, zamiast

deop %player%

op %player%

daj

deop player

op player

Ten sk wymagana także skript plus, o czym drogi kolega Kosa nie wspomniał w swoim poście x)

Niestety żaden z sposobów nie dziala, mam SkriptPlus 

PS: jest jakiś błąd w linijce:3,10,14,2

Edytowane przez VeruZ
Odnośnik do komentarza
https://skript.pl/temat/1363-prosz%C4%99-o-pomoc/#findComment-10848
Udostępnij na innych stronach

  • 0
on first join:    if player is op:        set {Admin.%player%} to true#command /adm [<text&gt]:    trigger:        if arg 1 is "gracz":            if player has permission "admin":                set {admin.pos.%player%} to location of player                restore inventory of player from {eq.%player%}                deop player        if arg 1 is "admin":            if player has permission "admin":                set {eq.%player%} to serialized inventory of player                op player                teleport player to {admin.pos.%player%}

Nie ma błędów :F

Odnośnik do komentarza
https://skript.pl/temat/1363-prosz%C4%99-o-pomoc/#findComment-10891
Udostępnij na innych stronach

  • 0
on first join:    if player is op:        set {Admin.%player%} to true#command /adm [<text&gt]:    trigger:        if arg 1 is "gracz":            if player has permission "admin":                set {admin.pos.%player%} to location of player                restore inventory of player from {eq.%player%}                deop player        if arg 1 is "admin":            if player has permission "admin":                set {eq.%player%} to serialized inventory of player                op player                teleport player to {admin.pos.%player%}

Nie ma błędów :f

 

Ehh... niestety mi nie dziala, może mam zwalonego bukkita czy cóś.

Ale dzięki za chęci :D

Edytowane przez VeruZ
Odnośnik do komentarza
https://skript.pl/temat/1363-prosz%C4%99-o-pomoc/#findComment-10925
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ę...