Adakit Skriptine Demir Spawner eklemek istiyorum. ama olmuyor

NightRider_

Ağaç Yumruklayıcı
Mesajlar
27
En iyi cevaplar
0
Beğeniler
1
Puanları
40
Merhaba ben adakitime bir spawner eklemek istiyorum sunucumda spawner verme koduda /itemsp ver oyuncuismi spawnerismi adet(4)
Yardım ederseniz sevinirim
Kod:
options:
    adakit: &6&lADAKIT &8&l| #Chata Gelen Başlık
    adakitx: &6&lADAKIT #Ekrana Gelen Başlık
    hata: &c&lHATA &8&l| #Chata Gelen Başlık
    hatax: &c&lHATA #Ekrana Gelen Başlık
  
command:
    if command is "adakit":
        if {adakit.%player%} is 1:
            set {adakit.%player%} to 0
        else:
            if {adakitaldi.%player%} is 0:
                cancel event
                execute console command "tm msg %player% {@adakitx}\n&8[&a/adakit&8] &7Komutunu Tekrar Kullan&8."
                send "{@adakit} &bADAKIT&7'ini Sadece 1 Kere Alabilirsin&8." to player
                send "{@adakit} &7Almak İstediğinine Eminsen &8[&a/adakit&8] &7Komutunu Tekrar Kullan&8." to player
                set {adakit.%player%} to 1
                wait 20 real seconds
                set {adakit.%player%} to 0
                stop
            else:
                cancel event
                execute console command "tm msg %player% {@hatax}\n&7Hakkın Dolmuştur&8."
                send "{@hata} &bADAKIT&7'ini Alma Hakkın Dolmuştur&8." to player
          
command /adakit:
    trigger:
        set {adakitaldi.%player%} to 1
        execute console command "tm msg %player% {@adakitx}\n&b192 Elmas Blok &7Veriliyor&8..."
        send "{@adakit} &b192 Elmas Blok &7Veriliyor&8..." to player
        give 192 diamond block to player
        wait 2 second
        execute console command "tm msg %player% {@adakitx}\n&e8 End Stone &7Veriliyor&8..."
        send "{@adakit} &e8 End Stone &7Veriliyor&8..." to player
        give 8 end stone to player
        wait 3 seconds
        execute console command "tm msg %player% {@adakitx}\n&7Başarıyla &bADAKIT &7Alındı&8."
        send "{@adakit} &71 Seferlik &bADAKIT&7'inizi Başarıyla Aldınız&8." to player
        send "{@adakit} &7İyi Oyunlar&8." to player
      
command /adakitsifirla:
    trigger:
        if player has permission "op":
            set {adakitaldi.%player%} to 0
            wait 1 tick
            execute console command "tm msg %player% {@adakitx}\n&bADAKIT &aHakkınız Sıfırlandı&8."
            send "{@adakit} &bADAKIT &7Hakkınız &aBaşarıyla &7Sıfırlandı&8."
        else:
            execute console command "tm msg %player% {@hatax}\n&7Bu Komutu Kullanamazsın&8."
            send "{@hata} &7Bu Komut İçin Gerekli Yetkiye Sahip Değilsiniz&8." to player
          
on first join:
    set {adakitaldi.%player%} to 0
  
on join:
    if {adakitaldi.%player%} is not set:
        set {adakitaldi.%player%} to 0
 


ChiaX

Team Arcenia
Emektar Üye
Mesajlar
596
En iyi cevaplar
37
Beğeniler
694
Puanları
2,620
Ruh hali
Bunu kullanabilirsiniz.
Skript benim değildir.
Kod:
variables:
    {dsp.%player%} = 0
    {esp.%player%} = 0
    {asp.%player%} = 0
    {zsp.%player%} = 0
    {aasp.%player%} = 0
 
options:
    delay: 1 # zaman
    count: 1 # adet

command /dspver [<player>] <number>:
    permission: SpreyMC.sp
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                execute console command "manuaddp %arg 1% DSP.Kullanim"
                execute console command "give %arg 1% 52 %arg 2% name:&eDemirSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
                add arg-2 to {dsp.%arg-1%}
                add arg-2 to {aasp.%arg-1%}
            else:
                send "&cKullanim : &7/dspver &c<kullaniciadi> &C<Adet>" to player
        else:
            send "&cKullanim : &7/dspver &c<kullaniciadi> &C<Adet>" to player
 
on place of a mob spawner:
    if name of player's tool is "&eDemirSpawner":
        if {dsp.%player%} is bigger than 0:
            set {_x} to x coord of event-location
            set {_y} to y coord of event-location
            set {_z} to z coord of event-location
            execute console command "manuaddp %player% minecraft.command.setblock"
            wait 0.3 seconds
            execute player command  "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:iron_ingot,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
            send "&e&l > &eDemir Spawneri başarıyla koydun!"
            execute console command "manudelp %player% minecraft.command.setblock"
            set {_1} to location of event-block
            add {_1} to {elmasspawner::*}
            add -1 to {dsp.%player%}
            add -1 to {aasp.%player%}
        else:
            cancel event
            Send "&cOnce Satin Almalisiniz" to player
 
command /spbak <player>:
    permission: SpreyMC.bakmak
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        arg 1 is set:
            send "&cSprey&fMC &eDemir Spawner Sayisi &8= &c%{dsp.%arg 1%}%"
            send "&cSprey&fMC &eAltin Spawner Sayisi &8= &c%{asp.%arg 1%}%"
            send "&cSprey&fMC &eElmas Spawner Sayisi &8= &c%{esp.%arg 1%}%"
            send "&cSprey&fMC &eZumrut Spawner Sayisi &8= &c%{zsp.%arg 1%}%"
            send "&cSprey&fMC &cToplam Spawner Sayisi &8= &c%{aasp.%arg 1%}%"
            stop
        else:
            send "&cSprey&fMC &7Lütfen Bir Isim Seciniz"
      
command /spver <player> <number> <text>:
    permission: SpreyMC.sp
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    if arg 3 is "demir":
                        execute console command "/dspver %arg 1% %arg 2%"
                        send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
                    else:
                        if arg 3 is "elmas":
                            execute console command "/espver %arg 1% %arg 2%"
                            send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
                        else:
                            if arg 3 is "altin":
                                execute console command "/aspver %arg 1% %arg 2%"
                                send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
                            else:
                                if arg 3 is "zumrut":
                                    execute console command "/zspver %arg 1% %arg 2%"
                                    send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
                else:
                    send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player
            else:
                send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player
        else:
            send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player
          
command /espver [<player>] <number>:
    permission: SpreyMC.sp
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                execute console command "manuaddp %arg 1% ESP.Kullanim"
                execute console command "give %arg 1% 52 %arg 2% name:&eElmasSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
                add arg-2 to {esp.%arg-1%}
                add arg-2 to {aasp.%arg-1%}
            else:
                send "&cKullanim : &7/espver &c<kullaniciadi> &C<Adet>" to player
        else:
            send "&cKullanim : &7/espver &c<kullaniciadi> &C<Adet>" to player
      
command /aspver [<player>] <number>:
    permission: SpreyMC.sp
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                execute console command "manuaddp %arg 1% ASP.Kullanim"
                execute console command "give %arg 1% 52 %arg 2% name:&eAltinSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
                add arg-2 to {asp.%arg-1%}
                add arg-2 to {aasp.%arg-1%}
            else:
                send "&cKullanim : &7/aspver &c<kullaniciadi> &C<Adet>" to player
        else:
            send "&cKullanim : &7/aspver &c<kullaniciadi> &C<Adet>" to player
              
command /zspver [<player>] <number>:
    permission: SpreyMC.sp
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                execute console command "manuaddp %arg 1% ZSP.Kullanim"
                execute console command "give %arg 1% 52 %arg 2% name:&eZumrutSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
                add arg-2 to {zsp.%arg-1%}
                add arg-2 to {aasp.%arg-1%}
            else:
                send "&cKullanim : &7/zspver &c<kullaniciadi> &C<Adet>" to player
        else:
            send "&cKullanim : &7/zspver &c<kullaniciadi> &C<Adet>" to player
              
on place of a mob spawner:
    if name of player's tool is "&eElmasSpawner":
        if {esp.%player%} is bigger than 0:
            set {_x} to x coord of event-location
            set {_y} to y coord of event-location
            set {_z} to z coord of event-location
            execute console command "manuaddp %player% minecraft.command.setblock"
            wait 0.3 seconds
            execute player command  "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id[emoji815],Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
            send "&e&l > &eElmas Spawneri başarıyla koydun!"
            execute console command "manudelp %player% minecraft.command.setblock"
            set {_1} to location of event-block
            add {_1} to {elmasspawner::*}
            add -1 to {esp.%player%}
            add -1 to {aasp.%player%}
        else:
            cancel event
            Send "&cOnce Satin Almalisiniz" to player

on place of a mob spawner:
    if name of player's tool is "&eAltinSpawner":
        if {asp.%player%} is bigger than 0:
            set {_x} to x coord of event-location
            set {_y} to y coord of event-location
            set {_z} to z coord of event-location
            wait 0.3 seconds
            execute console command "manuaddp %player% minecraft.command.setblock"
            execute player command  "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:gold_ingot,Count:1}},SpawnCount:2,SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
            send "&e&l > &eAltin Spawneri başarıyla koydun!"
            execute console command "manudelp %player% minecraft.command.setblock"
            set {_1} to location of event-block
            add {_1} to {elmasspawner::*}
            add -1 to {asp.%player%}
            add -1 to {aasp.%player%}
        else:
            cancel event
            Send "&cOnce Satin Almalisiniz" to player
          
on place of a mob spawner:
    if name of player's tool is "&eZumrutSpawner":
        if {zsp.%player%} is bigger than 0:
            set {_x} to x coord of event-location
            set {_y} to y coord of event-location
            set {_z} to z coord of event-location
            wait 0.3 seconds
            execute console command "manuaddp %player% minecraft.command.setblock"
            execute player command  "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:emerald,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
            send "&e&l > &eZumrut Spawneri başarıyla koydun!"
            execute console command "manudelp %player% minecraft.command.setblock"
            set {_1} to location of event-block
            add {_1} to {elmasspawner::*}
            add -1 to {zsp.%player%}
            add -1 to {aasp.%player%}
        else:
            cancel event
            Send "&cOnce Satin Almalisiniz" to player
          
command /spyenile:
    trigger:
        if player have permission "SpreyMC.SP":
            execute console command "sk reload spwnr"
            send "&eSprey&FMC &cSkript Basariyla Yenilendi" to player
        else:
            send "&4Bunu Yapamazsin." to player
      
command /sp yardim:
    trigger:
        if player have permission "SpreyMC.SP":
            send "&6--------------&cSprey&fMC&6------------" to player
            send "&6/spyenile &aSkripti Yeniler"
            send "&6/spver <isim> <adet> <spawner (demir , altin , elmas , zumrut)> &aKisiye Spawner Verir " to player
            send "&6/spbak <isim> &a Kisinin Kac Adet Spawnere Sahip Oldugu Gozukur"
            send "&6/spsil <isim> &a Kisinin Butun Spawnerlerini Siler."
            send "&6--------------&cSprey&fMC&6------------" to player
      
command /spsil <player>:
    permission: SpreyMC.sp
    permission message: &eBunu Kullanamazsin.
    trigger:
        set {dsp.%arg 1%} to 0
        set {esp.%arg 1%} to 0
        set {asp.%arg 1%} to 0
        set {zsp.%arg 1%} to 0
        set {aasp.%arg 1%} to 0
        execute console command "manudelp %arg 1% DSP.Kullanim"
        execute console command "manudelp %arg 1% ESP.Kullanim"
        execute console command "manudelp %arg 1% ASP.Kullanim"
        execute console command "manudelp %arg 1% ZSP.Kullanim"
        send "&cSprey&fMC &6Basariyla Butun Spawnerler Silindi !" to player
 

NightRider_

Ağaç Yumruklayıcı
Mesajlar
27
En iyi cevaplar
0
Beğeniler
1
Puanları
40
Bunu kullanabilirsiniz.
Skript benim değildir.
Kod:
variables:
    {dsp.%player%} = 0
    {esp.%player%} = 0
    {asp.%player%} = 0
    {zsp.%player%} = 0
    {aasp.%player%} = 0

options:
    delay: 1 # zaman
    count: 1 # adet

command /dspver [<player>] <number>:
    permission: SpreyMC.sp
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                execute console command "manuaddp %arg 1% DSP.Kullanim"
                execute console command "give %arg 1% 52 %arg 2% name:&eDemirSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
                add arg-2 to {dsp.%arg-1%}
                add arg-2 to {aasp.%arg-1%}
            else:
                send "&cKullanim : &7/dspver &c<kullaniciadi> &C<Adet>" to player
        else:
            send "&cKullanim : &7/dspver &c<kullaniciadi> &C<Adet>" to player

on place of a mob spawner:
    if name of player's tool is "&eDemirSpawner":
        if {dsp.%player%} is bigger than 0:
            set {_x} to x coord of event-location
            set {_y} to y coord of event-location
            set {_z} to z coord of event-location
            execute console command "manuaddp %player% minecraft.command.setblock"
            wait 0.3 seconds
            execute player command  "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:iron_ingot,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
            send "&e&l > &eDemir Spawneri başarıyla koydun!"
            execute console command "manudelp %player% minecraft.command.setblock"
            set {_1} to location of event-block
            add {_1} to {elmasspawner::*}
            add -1 to {dsp.%player%}
            add -1 to {aasp.%player%}
        else:
            cancel event
            Send "&cOnce Satin Almalisiniz" to player

command /spbak <player>:
    permission: SpreyMC.bakmak
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        arg 1 is set:
            send "&cSprey&fMC &eDemir Spawner Sayisi &8= &c%{dsp.%arg 1%}%"
            send "&cSprey&fMC &eAltin Spawner Sayisi &8= &c%{asp.%arg 1%}%"
            send "&cSprey&fMC &eElmas Spawner Sayisi &8= &c%{esp.%arg 1%}%"
            send "&cSprey&fMC &eZumrut Spawner Sayisi &8= &c%{zsp.%arg 1%}%"
            send "&cSprey&fMC &cToplam Spawner Sayisi &8= &c%{aasp.%arg 1%}%"
            stop
        else:
            send "&cSprey&fMC &7Lütfen Bir Isim Seciniz"
     
command /spver <player> <number> <text>:
    permission: SpreyMC.sp
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    if arg 3 is "demir":
                        execute console command "/dspver %arg 1% %arg 2%"
                        send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
                    else:
                        if arg 3 is "elmas":
                            execute console command "/espver %arg 1% %arg 2%"
                            send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
                        else:
                            if arg 3 is "altin":
                                execute console command "/aspver %arg 1% %arg 2%"
                                send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
                            else:
                                if arg 3 is "zumrut":
                                    execute console command "/zspver %arg 1% %arg 2%"
                                    send "&cSprey&fMC &aSpawneri Basariyla Verdiniz!" to player
                else:
                    send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player
            else:
                send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player
        else:
            send "&cSprey&fMC &cKullanim &7/Spver <Kullaniciadi> <adet> <Spawner>" to player
         
command /espver [<player>] <number>:
    permission: SpreyMC.sp
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                execute console command "manuaddp %arg 1% ESP.Kullanim"
                execute console command "give %arg 1% 52 %arg 2% name:&eElmasSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
                add arg-2 to {esp.%arg-1%}
                add arg-2 to {aasp.%arg-1%}
            else:
                send "&cKullanim : &7/espver &c<kullaniciadi> &C<Adet>" to player
        else:
            send "&cKullanim : &7/espver &c<kullaniciadi> &C<Adet>" to player
     
command /aspver [<player>] <number>:
    permission: SpreyMC.sp
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                execute console command "manuaddp %arg 1% ASP.Kullanim"
                execute console command "give %arg 1% 52 %arg 2% name:&eAltinSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
                add arg-2 to {asp.%arg-1%}
                add arg-2 to {aasp.%arg-1%}
            else:
                send "&cKullanim : &7/aspver &c<kullaniciadi> &C<Adet>" to player
        else:
            send "&cKullanim : &7/aspver &c<kullaniciadi> &C<Adet>" to player
             
command /zspver [<player>] <number>:
    permission: SpreyMC.sp
    permission message: &cSprey&fMC &4Kullanmak Icin Yetkiniz Yok
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                execute console command "manuaddp %arg 1% ZSP.Kullanim"
                execute console command "give %arg 1% 52 %arg 2% name:&eZumrutSpawner lore:&cKullanmadan_Once_envanterinizi_Bosaltin"
                add arg-2 to {zsp.%arg-1%}
                add arg-2 to {aasp.%arg-1%}
            else:
                send "&cKullanim : &7/zspver &c<kullaniciadi> &C<Adet>" to player
        else:
            send "&cKullanim : &7/zspver &c<kullaniciadi> &C<Adet>" to player
             
on place of a mob spawner:
    if name of player's tool is "&eElmasSpawner":
        if {esp.%player%} is bigger than 0:
            set {_x} to x coord of event-location
            set {_y} to y coord of event-location
            set {_z} to z coord of event-location
            execute console command "manuaddp %player% minecraft.command.setblock"
            wait 0.3 seconds
            execute player command  "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id[emoji815],Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
            send "&e&l > &eElmas Spawneri başarıyla koydun!"
            execute console command "manudelp %player% minecraft.command.setblock"
            set {_1} to location of event-block
            add {_1} to {elmasspawner::*}
            add -1 to {esp.%player%}
            add -1 to {aasp.%player%}
        else:
            cancel event
            Send "&cOnce Satin Almalisiniz" to player

on place of a mob spawner:
    if name of player's tool is "&eAltinSpawner":
        if {asp.%player%} is bigger than 0:
            set {_x} to x coord of event-location
            set {_y} to y coord of event-location
            set {_z} to z coord of event-location
            wait 0.3 seconds
            execute console command "manuaddp %player% minecraft.command.setblock"
            execute player command  "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:gold_ingot,Count:1}},SpawnCount:2,SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
            send "&e&l > &eAltin Spawneri başarıyla koydun!"
            execute console command "manudelp %player% minecraft.command.setblock"
            set {_1} to location of event-block
            add {_1} to {elmasspawner::*}
            add -1 to {asp.%player%}
            add -1 to {aasp.%player%}
        else:
            cancel event
            Send "&cOnce Satin Almalisiniz" to player
         
on place of a mob spawner:
    if name of player's tool is "&eZumrutSpawner":
        if {zsp.%player%} is bigger than 0:
            set {_x} to x coord of event-location
            set {_y} to y coord of event-location
            set {_z} to z coord of event-location
            wait 0.3 seconds
            execute console command "manuaddp %player% minecraft.command.setblock"
            execute player command  "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:emerald,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
            send "&e&l > &eZumrut Spawneri başarıyla koydun!"
            execute console command "manudelp %player% minecraft.command.setblock"
            set {_1} to location of event-block
            add {_1} to {elmasspawner::*}
            add -1 to {zsp.%player%}
            add -1 to {aasp.%player%}
        else:
            cancel event
            Send "&cOnce Satin Almalisiniz" to player
         
command /spyenile:
    trigger:
        if player have permission "SpreyMC.SP":
            execute console command "sk reload spwnr"
            send "&eSprey&FMC &cSkript Basariyla Yenilendi" to player
        else:
            send "&4Bunu Yapamazsin." to player
     
command /sp yardim:
    trigger:
        if player have permission "SpreyMC.SP":
            send "&6--------------&cSprey&fMC&6------------" to player
            send "&6/spyenile &aSkripti Yeniler"
            send "&6/spver <isim> <adet> <spawner (demir , altin , elmas , zumrut)> &aKisiye Spawner Verir " to player
            send "&6/spbak <isim> &a Kisinin Kac Adet Spawnere Sahip Oldugu Gozukur"
            send "&6/spsil <isim> &a Kisinin Butun Spawnerlerini Siler."
            send "&6--------------&cSprey&fMC&6------------" to player
     
command /spsil <player>:
    permission: SpreyMC.sp
    permission message: &eBunu Kullanamazsin.
    trigger:
        set {dsp.%arg 1%} to 0
        set {esp.%arg 1%} to 0
        set {asp.%arg 1%} to 0
        set {zsp.%arg 1%} to 0
        set {aasp.%arg 1%} to 0
        execute console command "manudelp %arg 1% DSP.Kullanim"
        execute console command "manudelp %arg 1% ESP.Kullanim"
        execute console command "manudelp %arg 1% ASP.Kullanim"
        execute console command "manudelp %arg 1% ZSP.Kullanim"
        send "&cSprey&fMC &6Basariyla Butun Spawnerler Silindi !" to player
Ben aslında bunu dememiştim adakite demirblok spawner eklemek istiyordum
 

ToprakM

KEK
Emektar Üye
Mesajlar
440
En iyi cevaplar
49
Beğeniler
661
Puanları
2,375
Ruh hali
Şu satırı kullanarak konsola/oyuncuya komut yazdırtabilirsiniz;
Konsola komut yazdırtma: execute console command "komut"
Oyuncuya komut yazdırtma: execute player command "komut"

Kodundaki alakalı kısma şunu eklersen sorunun çözülür sanırım
execute console command "itemsp ver %player% Spawnerİsmi 4"
(Spawner İsmini bilmediğim için yazmadım sen düzeltirsin.)
 

NightRider_

Ağaç Yumruklayıcı
Mesajlar
27
En iyi cevaplar
0
Beğeniler
1
Puanları
40
Şu satırı kullanarak konsola/oyuncuya komut yazdırtabilirsiniz;
Konsola komut yazdırtma: execute console command "komut"
Oyuncuya komut yazdırtma: execute player command "komut"

Kodundaki alakalı kısma şunu eklersen sorunun çözülür sanırım
execute console command "itemsp ver %player% Spawnerİsmi 4"
(Spawner İsmini bilmediğim için yazmadım sen düzeltirsin.)
teşekkür ederim konu kilitlenebilir
 

Üst