- Katılım
- 5 Aralık 2022
- Mesajlar
- 49
- Elmaslar
- 10
- Puanlar
- 430
- Yaş
- 24
- Yer
- NewYork
- Minecraft
- FertuzNetwors
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}
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.
Zaten skript içinde üstadımız bahsetmiş :D
"if command sender is console" ve "if command sender is player" diye :D