PvP FFA Rank Sistemi Beceremedim.

MustafaMertBulut

MC.MAXCRAFT.AT
Mesajlar
1,098
En iyi cevaplar
0
Beğeniler
260
Puanları
680
Kod:
on death of player:
    set death message to ""
    if attacker is a player:  
      if {kill.%attacker%} is greater than "1000":
        set {rank.%attacker%} to "global"
        execute console command "tm broadcast &c&lGLBOAL!\&b%attacker% &7Adlı oyuncu global rütbesine terfi etti!"
    else if {kill.%attacker%} is greater than "900":
        set {rank.%attacker%} to "lem+"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Kartal+ Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "800":
        set {rank.%attacker%} to "lem"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Kartal Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "700":
        set {rank.%attacker%} to "lmge"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Efsanevi Keleş 2 Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "600":
        set {rank.%attacker%} to "lmg"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Keleş 2 Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "500":
        set {rank.%attacker%} to "mg"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Keleş 2 Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "400":
        set {rank.%attacker%} to "nova4"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Nova 4 Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "300":
        set {rank.%attacker%} to "nova3"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Nova 3 Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "250":
        set {rank.%attacker%} to "nova2"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Nova 2 Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "200":
        set {rank.%attacker%} to "nova1"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Nova Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "100":
        set {rank.%attacker%} to "elitesilver"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Elit Gümüş Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "90":
        set {rank.%attacker%} to "silver4"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Gümüş 4 Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "70":
        set {rank.%attacker%} to "silver3"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Gümüş 3 Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "50":
        set {rank.%attacker%} to "silver2"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Gümüş 2 Rütbesine Terfi Ettin!"
    else if {kill.%attacker%} is greater than "30":
        set {rank.%attacker%} to "silver1"
        execute console command "tm msg %attacker% &6&l{@prefix}\&eTEBRIKLER&7! Gümüş 1 Rütbesine Terfi Ettin!"
kod bu naparsam yapim çalıştıramadım bir türlü :(
 


ShiodomeMiuna

Nether Yerlisi
Mesajlar
2,351
En iyi cevaplar
11
Beğeniler
1,190
Puanları
3,300
Sana bir soru, bu {kill.%attacker%} ve {rank.%attacker%} ler daha önce belirlendi mi?

Belirlenmediyse kodun başına şu kodu yerleştir;
PHP:
join:
    if {kill.%player%} isn't set:
        set {kill.%player%} to 0
    if {rank.%player%} isn't set:
        set {rank.%player%} to "Unranked"
 

MustafaMertBulut

MC.MAXCRAFT.AT
Mesajlar
1,098
En iyi cevaplar
0
Beğeniler
260
Puanları
680
Sana bir soru, bu {kill.%attacker%} ve {rank.%attacker%} ler daha önce belirlendi mi?

Belirlenmediyse kodun başına şu kodu yerleştir;
PHP:
join:
    if {kill.%player%} isn't set:
        set {kill.%player%} to 0
    if {rank.%player%} isn't set:
        set {rank.%player%} to "Unranked"
on first join'de belirttim onları belirli yani
 

ShiodomeMiuna

Nether Yerlisi
Mesajlar
2,351
En iyi cevaplar
11
Beğeniler
1,190
Puanları
3,300
ofj ile belirleyemezsin, ofj sadece sunucuya ilk kez girmişlerde belirliyor. Benim yazdığımı yerleştirir misin?
 

Üst