[SK] İstek

GameKingTr59

Lapis Toplayıcısı
Mesajlar
1,067
En iyi cevaplar
0
Beğeniler
675
Puanları
1,440
Herkese merhaba, sizden istediğim skript tam olarak şu. Oyuncu spawn ile WG'lenmiş bir yere girince otomatik olarak fly açacak. Sonra spawndan çıkınca fly gidicek. Yardımcı olan herkese teşekkür ederim.
 


SweetNetwork

Kızıltaş Madencisi
Mesajlar
628
En iyi cevaplar
0
Beğeniler
2,347
Puanları
0
Kod:
on region enter:
 wait 1 ticks
 if "%regions at player%" contain "spawn":
  execute console command "/fly %player%"
bu sadece giriş için ,_; **
 

Myper

Kızıltaş Madencisi
Mesajlar
514
En iyi cevaplar
0
Beğeniler
168
Puanları
340
Kod:
on region enter:
    set {_loc} to location of player
    player cannot build at {_loc}
    allow fly for player
   
on region leave:
    region is "spawn"
    disallow fly for player
Al aşkım
 

HKNGLGN

Zombi Katili
Mesajlar
248
En iyi cevaplar
3
Beğeniler
69
Puanları
430
Kod:
on entering of region "spawn":
    if player has the permission "spawn.fly":
        if player don't have the permission "spawnfly.bypass":
            execute console command "fly %player% on"

on leaving of region "spawn":
    if player has the permission "spawn.fly":
        if player don't have the permission "spawnfly.bypass":
            execute console command "fly %player% off"

Kod bana ait değildir.
 

Üst