Jeśli nie to proszę o poprawe {pilne, dość trudne}
Cytuj
variables:
{spot.1} = 0
{spot.1.1} = 4
{spot.1.2} = 4
{spot.1.3} = 4
{spot.1.4} = 4
{spot.1.5} = 4
every 1 minutes:
if {spot.1.1} is 0:
if {spot.1.2} is 0:
if {spot.1.3} is 0:
if {spot.1.4} is 0:
if {spot.1.5} is 0:
command /spot [<text>] [<player>]:
permission: spot.admin
trigger:
if arg 1 is not set:
if arg 2 is not set:
send "&8[&2RPG&8] &7Uzyj komedy: &a/spot help"
if arg 1 is "help":
if arg 2 is not set:
send ""
send "&7Pomocne komendy:"
send "&a/spot list &8- &7Lisa spotow."
send "&a/spot create <id> &8- &7Twozy wybrany spot."
send "&a/spot resp <id> &8- &7Resp nie automatyczny."
SEND "&a/spot sprawdz <id> &8- &7Sprawdza id spota."
send "&7Pamientaj ,ze mozesz utworzyc tylko 4 spoty na 1 id."
if arg 1 is "list":
if arg 2 is not set:
send "&a/spot create 1 &8- &7Tworzy miejsce spotu szroniak &clv.1"
send "&a/spot create 2 &8- &7Tworzy miejsce spotu szroniak &clv.2"
send "&a/spot create 3 &8- &7Tworzy miejsce spotu szroniak &clv.3"
send "&a/spot create 4 &8- &7Tworzy miejsce spotu szroniak &clv.4"
send "&a/spot create 5 &8- &7Tworzy miejsce spotu szroniak &clv.5"
send "&a/spot create 6 &8- &7PRACA"
send "&a/spot create 7 &8- &7PRACA"
send "&a/spot create 8 &8- &7PRACA"
send "&a/spot create 9 &8- &7PRACA"
send "&a/spot create 10 &8- &7PRACA"
send "&a/spot create 11 &8- &7PRACA"
send "&a/spot create 12 &8- &7PRACA"
send "&a/spot create 13 &8- &7PRACA."
send "&7Pamientaj ,ze mozesz utworzyc tylko 4 spoty na 1 id."
if arg 1 is "resp":
if arg 2 is "1":
spawn 1 Skeleton at {spot1}
set 30 to arg 3
set the last spawned entity's max health to 30
heal last spawned entity
set the spawned Skeleton's display name to "&7Szroniak &clv.1" spawned Skeleton's
if arg 1 is "create":
if arg 2 is "1":
if {spot.1} is 0:
set {spot1} to location of player
send "&8[&2RPG&8] &7Teraz beda sie przywolywac:"
send " &a- &7Szroniak &clv.1"
set {spot.1.1} to 0
set {spot.1} to 1
if {spot.1} is 1:
set {spot2} to location of player
send "&8[&2RPG&8] &7Teraz beda sie przywolywac:"
send " &a- &7Szroniak &clv.1"
set {spot.1.2} to 0
set {spot.1} to 2
if {spot.1} is 2:
set {spot3} to location of player
send "&8[&2RPG&8] &7Teraz beda sie przywolywac:"
send " &a- &7Szroniak &clv.1"
set {spot.1.3} to 0
set {spot.1} to 3
if {spot.1} is 3:
set {spot4} to location of player
send "&8[&2RPG&8] &7Teraz beda sie przywolywac:"
send " &a- &7Szroniak &clv.1"
set {spot.1.4} to 0
set {spot.1} to 4
Pytanie
DaltonEZ 139
Czy ten skript będzie działał poprawnie ?
Jeśli nie to proszę o poprawe {pilne, dość trudne}
Odnośnik do komentarza
https://skript.pl/temat/12410-rpgspot/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi