command /tp [<player>]:
trigger:
if arg 1 is set:
if arg 1 is online:
if player has permission "hs.tp":
teleport player to arg 1
send player title "&7[&a&lHS&r&7]" with subtitle "&fPrzeteleportowano do gracza &e%arg 1%"
else:
send player title "&7[&a&lHS&r&7]" with subtitle "&cNie ma takiego gracza online"
stop
else:
send "&7[&a&lHS&r&7] &8>> &aUzyj: /tp gracz"
stop
else:
send player title "&7[&a&lHS&r&7]" with subtitle "&cBrak uprawnien!" for 5 seconds
stop
variables:
{fly.%player%} = false
{god.%player%} = false
command /fly [<text>]:
trigger:
if player has permission "hs.fly":
if {fly.%player%} is false:
set player's fly mode to true
send player title "&7[&a&lHS&r&7]" with subtitle "&aWlaczyles &cF" for 5 seconds
stop
else:
send player title "&7[&a&lHS&r&7]" with subtitle "&cBrak uprawnien!" for 5 seconds
else:
set player's fly mode to false
send player title "&7[&a&lHS&r&7]" with subtitle "&aWylaczyles &cFLY" for 5 seconds
stop
command /god [<text>]:
trigger:
if player has permission "hs.god":
if {god.%player%} = false:
set {god.%player%} to true
send player title "&7[&a&lHS&r&7]" with subtitle "&aWlaczyles &cGODA!" for 5 seconds
else:
send player title "&7[&a&lHS&r&7]" with subtitle "&cBrak uprawnien!" for 5 seconds
stop
else:
set {god.%player%} to false
send player title "&7[&a&lHS&r&7]" with subtitle "&aWlaczyles &cGODA" for 5 seconds
stop
command /gamemode [<text>]:
aliases: gm, gmode, gamem
trigger:
if player has permission "hs.gm":
if arg 1 is set:
if arg 1 is "1" or "creative" or "kreatywny" or "c":
set player's gamemode to creative
send player title "&7[&a&lHS&r&7]" with subtitle "&aZmieniono tryb gry na &cSURVIVAL!" for 5 seconds
if arg 1 is "0" or "survival" or "przetrwanie" or "s":
set player's gamemode to survival
send player title "&7[&a&lHS&r&7]" with subtitle "&aZmieniono tryb gry na &cSURVIVAL!" for 5 seconds
else:
send player title "&7[&a&lHS&r&7]" with subtitle "&cBrak uprawnien!" for 5 secondssend player title "&7[&a&lHS&r&7]" with subtitle "&cBrak uprawnien!" for 5 seconds
stop
else:
send "&7[&a&lHS&r&7] &aUzyj /gm 1/0"
stop
Poprostu gdy wpisze /gm 1 to wyskakuje wiad brak uprawnien a ta ogl to przy reloadzie nie ma bledow
Pytanie
Headshotplayer 0
Tak jak w temacie:
Poprostu gdy wpisze /gm 1 to wyskakuje wiad brak uprawnien a ta ogl to przy reloadzie nie ma bledow
jak wpisze /god to nie dziala
Odnośnik do komentarza
https://skript.pl/temat/35516-mo%C5%BCe-kto%C5%9B-poprawi%C4%87-skrypt/Udostępnij na innych stronach
10 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.