Bilgilendirici videolar ya da rehberler hazırlayarak gelir elde etmek ister misin?
on any movement:
if player has permission "ben.yetkiliyim":
set {_x} to location of player
set {_x1} to block at (location of player offset by 0, -1, 0)
set {_x2} to block at (location of player offset by 0, 1, 0)
set {_x3} to block at (location of player offset by 0, 2, 0)
if {_x1} is air and {_x2} is air and {_x3} is air:
set player's fly mode to false
send "{@p} 7Uçma modu kapatıldı, çünkü altındaki 3 blok hava."
else:
set player's fly mode to true
send "{@p} 7Uçma modu açık, çünkü altında hava olmayan blok var."
Evet, skript çalışmadı bu arada 5 tane hata varKod:on any movement: if player has permission "ben.yetkiliyim": set {_x} to location of player set {_x1} to block at (location of player offset by 0, -1, 0) set {_x2} to block at (location of player offset by 0, 1, 0) set {_x3} to block at (location of player offset by 0, 2, 0) if {_x1} is air and {_x2} is air and {_x3} is air: set player's fly mode to false send "{@p} 7Uçma modu kapatıldı, çünkü altındaki 3 blok hava." else: set player's fly mode to true send "{@p} 7Uçma modu açık, çünkü altında hava olmayan blok var."
Böyle bir şey mi dediniz tam açıklarsanız size yardımcı olurum
Hatayı iletirmisinizEvet, skript çalışmadı bu arada 5 tane hata var
[14:14:13 ERROR]: Can't understand this expression: 'block at (location of player offset by 0, -1, 0)' (fly_check.sk, line 4: set {_x1} to block at (location of player offset by 0, -1, 0)')Hatayı iletirmisiniz
[14:14:13 ERROR]: Can't understand this expression: 'block at (location of player offset by 0, -1, 0)' (fly_check.sk, line 4: set {_x1} to block at (location of player offset by 0, -1, 0)')
>
[14:14:13 ERROR]: Can't understand this expression: 'block at (location of player offset by 0, 1, 0)' (fly_check.sk, line 5: set {_x2} to block at (location of player offset by 0, 1, 0)')
>
[14:14:14 ERROR]: Can't understand this expression: 'block at (location of player offset by 0, 2, 0)' (fly_check.sk, line 6: set {_x3} to block at (location of player offset by 0, 2, 0)')
>
[14:14:14 ERROR]: can't understand this condition: '{_x1} is air and {_x2} is air and {_x3} is air' (fly_check.sk, line 7: if {_x1} is air and {_x2} is air and {_x3} is air:')
>
[14:14:14 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (fly_check.sk, line 10: else:')
on any movement:
if player has permission "fly.toggle":
set {_below} to block at location of player offset by 0, -1, 0
set {_above1} to block at location of player offset by 0, 1, 0
set {_above2} to block at location of player offset by 0, 2, 0
if {_below} is air and {_above1} is air and {_above2} is air:
if player is flying:
set player's fly mode to false
send "&cUçma modu kapatıldı çünkü altındaki, üzerindeki bloklar hava."
else:
if player is not flying:
set player's fly mode to true
send "&aUçma modu açıldı çünkü altındaki, üzerindeki bloklar hava değil."
on join:
set player's fly mode to true
send "&aHoş geldin! Uçma modu etkinleştirildi."
Hata Var gene ne yapabiliriz.Kod:on any movement: if player has permission "fly.toggle": set {_below} to block at location of player offset by 0, -1, 0 set {_above1} to block at location of player offset by 0, 1, 0 set {_above2} to block at location of player offset by 0, 2, 0 if {_below} is air and {_above1} is air and {_above2} is air: if player is flying: set player's fly mode to false send "&cUçma modu kapatıldı çünkü altındaki, üzerindeki bloklar hava." else: if player is not flying: set player's fly mode to true send "&aUçma modu açıldı çünkü altındaki, üzerindeki bloklar hava değil." on join: set player's fly mode to true send "&aHoş geldin! Uçma modu etkinleştirildi."
Bunu deneyin
Bende çalışıyor sizde nasıl calismiyorHata Var gene ne yapabiliriz.
Türkiye'nin en büyük Minecraft forumu,
MinecraftTR, 2013 yılında oyuncu topluluğunu bir araya getirme hedefiyle kurulmuş ve 2018 itibarıyla forum altyapısıyla faaliyetlerine hız kazandırmıştır.
Minecraft sunucuları, modlar, rehberler ve oyun içi etkinlikler başta olmak üzere oyuncuların ihtiyaç duyduğu her alanda bilgi paylaşımını teşvik eden platformumuz,
binlerce aktif üyesiyle Türkiye'nin en geniş Minecraft oyuncu ağına ev sahipliği yapmaktadır.
Yeni arkadaşlıklar edinmek, sunucunuzu tanıtmak veya Minecraft hakkında güncel bilgilere ulaşmak için aramıza katılabilirsiniz.