command /kon:
trigger:
remove 10 diamonds from player's inventory
spawn adult horse 30 meter backwards player
set {_e} to last spawned horse
set gravity of {_e} to off
wait 1 real seconds
set the name of last spawned horse to "&4[&6&lApollo&4]"
tame {_e} to the player
equip last spawned horse with diamond horse armor and saddle
make player ride {_e}
wait 1 second
if player's vehicle is {_e}:
push {_e} downwards with speed 0.2
set gravity of {_e} to off
if player's inventory contain 5 diamonds:
remove 5 diamonds from player's inventory
loop 100 times:
wait 1 second
set {_loc} to location of {_e}
push the {_e} forward from {_loc} at speed 5
remove 5 diamonds from player's inventory
wait 1 seconds
if player's inventory does not contain 5 diamonds:
kill {_e}
stop
else if player's inventory does not contain 5 diamonds:
kill {_e}
Powinien być pushnięty 1 blok do przodu z jego lokalizacji BEZ ZMIANY Y.
Pytanie
Misio12320 32
Witam, poprawi mi ktoś kod na konia?
command /kon: trigger: remove 10 diamonds from player's inventory spawn adult horse 30 meter backwards player set {_e} to last spawned horse set gravity of {_e} to off wait 1 real seconds set the name of last spawned horse to "&4[&6&lApollo&4]" tame {_e} to the player equip last spawned horse with diamond horse armor and saddle make player ride {_e} wait 1 second if player's vehicle is {_e}: push {_e} downwards with speed 0.2 set gravity of {_e} to off if player's inventory contain 5 diamonds: remove 5 diamonds from player's inventory loop 100 times: wait 1 second set {_loc} to location of {_e} push the {_e} forward from {_loc} at speed 5 remove 5 diamonds from player's inventory wait 1 seconds if player's inventory does not contain 5 diamonds: kill {_e} stop else if player's inventory does not contain 5 diamonds: kill {_e}
Powinien być pushnięty 1 blok do przodu z jego lokalizacji BEZ ZMIANY Y.
Odnośnik do komentarza
Udostępnij na innych stronach
0 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ą.