Siema. Jak zrobic zeby kon po zrespieniu byl juz oswojony? No i jak zrobic zeby znikal po wysiadnieciu z niego? To moj kod:
variables:
{kon::%player%} = false
command /kon:
trigger:
if {kon::%player%} = false:
spawn horse at location of player
set the name of spawned entity to "%player%"
set owner of target entity to player
make player ride spawned horse
equip spawned horse with saddle
set {kon::%player%} to true
send "&aPrzywolales swojego konia!"
else:
send "Kon juz"
command /elo:
trigger:
set {kon::%player%} to false
on vehicle exit:
if {kon::%player%} is true:
loop entities in radius 10 of player:
name of loop-entity is "%player%":
delete loop-entity
send "&cOdwolales konia"
set {kon::%player%} to false
stop
on death of a horse:
name of event-entity is set:
cancel drops
Pytanie
EdeQ 0
Siema. Jak zrobic zeby kon po zrespieniu byl juz oswojony? No i jak zrobic zeby znikal po wysiadnieciu z niego? To moj kod:
variables:
{kon::%player%} = false
command /kon:
trigger:
if {kon::%player%} = false:
spawn horse at location of player
set the name of spawned entity to "%player%"
set owner of target entity to player
make player ride spawned horse
equip spawned horse with saddle
set {kon::%player%} to true
send "&aPrzywolales swojego konia!"
else:
send "Kon juz"
command /elo:
trigger:
set {kon::%player%} to false
on vehicle exit:
if {kon::%player%} is true:
loop entities in radius 10 of player:
name of loop-entity is "%player%":
delete loop-entity
send "&cOdwolales konia"
set {kon::%player%} to false
stop
on death of a horse:
name of event-entity is set:
cancel drops
Odnośnik do komentarza
https://skript.pl/temat/55063-jak-zrespic-oswojonego-konia/Udostępnij na innych stronach
9 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ą.