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.
Pytanie
VeruZ 0
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