kullanici0000
Odunlara Vur Vur Vur!
- Katılım
- 5 Aralık 2022
- Mesajlar
- 49
- Elmaslar
- 10
- Puan
- 2.055
- Yaş
- 26
- Konum
- NewYork
- Minecraft
- FertuzNetwors
Discord:
asdGetDo#5362
asdGetDo#5362
.ardyy (Ardyy)
command komut:
trigger:
test1() if command sender is console
test2(player) if command sender is player
function test1():
broadcast "deneme"
function test2(p:player):
send "deneme 2" to {_p}
asdGetDo#5362
Sanırım böyle bir şey istiyorsunuz. Tam anlamadım baştan söyleyeyim.
Kod:command komut: trigger: test1() if command sender is console test2(player) if command sender is player function test1(): broadcast "deneme" function test2(p:player): send "deneme 2" to {_p}
Zaten skript içinde üstadımız bahsetmiş :DEvet bundan bahsediyorum, peki bu function'sız, sadece if ile oluyor mu?
Edit: Oluyormuş, ama sanırım oyuncu için function kullanmak lazım.
asdGetDo#5362
Zaten skript içinde üstadımız bahsetmiş :D
"if command sender is console" ve "if command sender is player" diye :D
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!