Çözüldü Paralı Tamir Skripti

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

mRLexReiz06

Bir Kömür Göründü Kaptanım!
Katılım
29 Mayıs 2018
Mesajlar
117
Elmaslar
27
Puan
8.920
Yaş
25
merhabalar konuları gezdim ve tam istediğimi bulamadım istediğim şey parali tamir istiyorum yani /tamiret yazıldığında 2bin gidecek ve elinde itemi tamir edecek
 
biraz daha iyi gezmelisin
 
biraz daha iyi gezmelisin
istediğim gibi değil ve hatalar veriyor :) bu kadar büyük skripte gerek yok küçük birşey istiyorum ve guisiz
 
Kod:
command /tamir:
  trigger:
    if player's held item is tool:
      if player's balance is greater than or equal to 50000:
        repair tool of player
        remove 50000 from player's balance
        send "&c50K karşılığında eşyayı tamir ettin." to player
      else:
        send "50K paran olmalı"
    else:
      send "Elinde bir alet tutmalısın :)"
Kod:
command /toplutamir:
    trigger:
      if player's balance is greater than or equal to 250000:
        loop all tools from player's inventory:
          repair loop-item
        remove 250000 from player's balance
        send "&c250K karşılığında tüm eşyalarını tamir ettin." to player
      else:
        send "&6250K paran olmalı."
 
Buyrun kod;


command /tamirettir:
trigger:
if balance is greater than 2000:
add -2000 to balance
repair tool of player
send "&aTebrikler! &e750 Para ⛃ ile tamir ettin."
else:
send "&cÜzgünüm! Hesabındaki Para ⛃ ile bunu karşılamıyorsun." to player
 
Kod:
command /tamir:
  trigger:
    if player's held item is tool:
      if player's balance is greater than or equal to 50000:
        repair tool of player
        remove 50000 from player's balance
        send "&c50K karşılığında eşyayı tamir ettin." to player
      else:
        send "50K paran olmalı"
    else:
      send "Elinde bir alet tutmalısın :)"
Kod:
command /toplutamir:
    trigger:
      if player's balance is greater than or equal to 250000:
        loop all tools from player's inventory:
          repair loop-item
        remove 250000 from player's balance
        send "&c250K karşılığında tüm eşyalarını tamir ettin." to player
      else:
        send "&6250K paran olmalı."
tamirde

Kod:
[22:04:49 ERROR]: 'player's balance' is not an entity type (tamir.sk, line 4: if player's balance is greater than or equal to 50000:')

[22:04:49 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (tamir.sk, line 8: else:')


toplu tamirde


Kod:
[22:03:54 ERROR]: indentation error: expected 8 spaces, but found 6 spaces (tamir.sk, line 3: if player's balance is greater than or equal to 250000:')

[22:03:54 ERROR]: indentation error: expected 12 spaces, but found 10 spaces (tamir.sk, line 5: repair loop-item')

[22:03:54 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (tamir.sk, line 4: loop all tools from player's inventory:')

[22:03:54 ERROR]: indentation error: expected 8 spaces, but found 6 spaces (tamir.sk, line 8: else:')

[22:03:54 ERROR]: 'tools from player' is not an entity type (tamir.sk, line 4: loop all tools from player's inventory:')

[22:03:54 ERROR]: 'player's balance' is not an entity type (tamir.sk, line 6: remove 250000 from player's balance')

bu hataları verdi
DarelRealese düzenleyip atabilirmisin hata verdi
 
Moderatör tarafından düzenlendi:
tamirde

[22:04:49 ERROR]: 'player's balance' is not an entity type (tamir.sk, line 4: if player's balance is greater than or equal to 50000:')
[22:04:49 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (tamir.sk, line 8: else:')


toplu tamirde


[22:03:54 ERROR]: indentation error: expected 8 spaces, but found 6 spaces (tamir.sk, line 3: if player's balance is greater than or equal to 250000:')
[22:03:54 ERROR]: indentation error: expected 12 spaces, but found 10 spaces (tamir.sk, line 5: repair loop-item')
[22:03:54 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (tamir.sk, line 4: loop all tools from player's inventory:')
[22:03:54 ERROR]: indentation error: expected 8 spaces, but found 6 spaces (tamir.sk, line 8: else:')
[22:03:54 ERROR]: 'tools from player' is not an entity type (tamir.sk, line 4: loop all tools from player's inventory:')
[22:03:54 ERROR]: 'player's balance' is not an entity type (tamir.sk, line 6: remove 250000 from player's balance')

bu hataları verdi
Gönderi otomatik olarak birleştirildi:

Gönderi otomatik olarak birleştirildi:


DarelRealese düzenleyip atabilirmisin hata verdi

Tabları düzeltirsen çalışacaktır. Bir de şunu deneyin;
Kod:
command /tamir:
    trigger:
        if player's held item is tool:
            execute console command "manuaddp %player% essentials.repair"
            make player execute command "repair"
            execute console command "manudelp %player% essentials.repair"
            execute console command "eco take %player% 50000"
            send "&c50K karşılığında eşyayı tamir ettin." to player
 
Tabları düzeltirsen çalışacaktır. Bir de şunu deneyin;
Kod:
command /tamir:
    trigger:
        if player's held item is tool:
            execute console command "manuaddp %player% essentials.repair"
            make player execute command "repair"
            execute console command "manudelp %player% essentials.repair"
            execute console command "eco take %player% 50000"
            send "&c50K karşılığında eşyayı tamir ettin." to player
teşekkür ediyorum çalıştı konu kilit
 
Rica ederim, kilitlenmiştir.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst