- Katılım
- 26 Haz 2022
- Mesajlar
- 15
- Beğeni
- 1
- Puanları
- 10
Basit bir /admin skripti yazarken bir yerde takıldım:
op player ve deop player nasıl olucak doğrumu?
/admin ol komudunu yazdığımızda o oyuncu "admin.use" permission una sahipse op olucakmı
ve
doğrumu?
Kod:
on command /admin [<text>]:
permission: admin.use
permission message: &cAdmin olmayamı çalışıyorsun? :D
if %arg 1% is "ol"
if player has the permission "admin.use":
op player
if %arg 1% is "olma"
if player has the permission "admin.use":
deop player
/admin ol komudunu yazdığımızda o oyuncu "admin.use" permission una sahipse op olucakmı
Kod:
if %arg 1% is "ol"
if player has the permission "admin.use":
op player
Kod:
if %arg 1% is "olma"
if player has the permission "admin.use":
deop player