command /pet [<text=cagir>] [<text=kurt>] [<text>]:
trigger:
arg 1 is "cagir":
send "Hayvanı çağırmak için &c/pet cagir <tür> <isim>"
arg 2 is "kurt":
spawn a wolf at player
set name of last spawned entity to "&c%arg 3%"
loop mobs in radius 5 around the player:
entity's target is a player
set {zaxelatr.hayvan.seni.takip.ediyormu} to true
every 10 second:
if {zaxelatr.hayvan.seni.takip.ediyormu} is set:
loop mobs in radius 4 around the players:
set the player's health to 10
arkadaşın dediği bu kod[DOUBLEPOST=1433954243,1433954209][/DOUBLEPOST]command /pet [<text=cagir>] [<text=kurt>] [<text>]:
trigger:
arg 1 is "cagir":
send "Hayvanı çağırmak için &c/pet cagir <tür> <isim>"
arg 2 is "kurt":
spawn a wolf at player
set name of last spawned entity to "&c%arg 3%"
loop mobs in radius 5 around the player:
entity's target is a player
set {zaxelatr.hayvan.seni.takip.ediyormu} to true
every 10 second:
if {zaxelatr.hayvan.seni.takip.ediyormu} is set:
loop mobs in radius 4 around the players:
add the player's health to 1 < burayı kaldırmalısın
set the player's health to 10