İstek Rütbeye Göre Para Verme Skripti

vForGeralt

Marangoz
En iyi cevaplar
0
Oyuncularım hangi rütbede ise ona göre kazdığı 320 yosunlu taştan para kazanmasını istiyorum ben ayarladım fakat anlamadığım bir şekilde hangi permde olursam olayım sadece 1k geliyor buradaki hataları düzeltirseniz sevinirim. Benim Yaptığım SK:

JavaScript:
on break of mossy cobblestone:
    if player has permission "rutbe.apollon":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 1000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.demeter":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 2000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.athena":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 3000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.afrodit":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 4000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.artemis":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 5000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.hermes":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 6000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.ares":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 7000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.hephaistos":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 8000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.hades":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 9000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.poseidon":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 10000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.eirene":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 11000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.fraude":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 12000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.ploutos":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 13000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.daimon":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 14000"
            
on break of mossy cobblestone:
    if player has permission "rutbe.zeus":
        if player has 320 mossy cobblestone:
            remove 320 mossy cobblestone from player
            send "&aBaşarı ile rütbene göre paranı aldın!"
            execute console command "eco give %player% 15000"
 

Bernard

Бернард
Danışman
Geliştirici
En iyi cevaplar
61
Sende OP veya "rutbe.*" yetkisi halihazırda olduğu için öyle. Bir yosunlu taş kırılmasında ilk olarak "rutbe.apollon"u kontrol ediyor. Olduğu içinde doğal olarak 1k para geliyor. Yetkileri düzeltirsen sorunda düzelecektir.
 
Üst