[SK] İstek

GameKingTr59

Lapis Toplayıcısı
En iyi cevaplar
0
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
En iyi cevaplar
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
En iyi cevaplar
1
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
En iyi cevaplar
3
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