/stats Komutu

Bilalhh

Kızıltaş Madencisi
Mesajlar
499
En iyi cevaplar
0
Beğeniler
37
Puanları
500
Ruh hali
Başlıktada yazdığı gibi /stats yazınca Oldürme Ve Ölmesi Yazsın tabii ki Oluyorsa Pls :) Şimdiden Teşekkürler :)
 


FrknZhlp

Founder Of TatliXYX & CraftingCodes
Mesajlar
223
En iyi cevaplar
0
Beğeniler
94
Puanları
340
Yazmıştım Bu Skripti Duruyorsa Atıyım Durmuyorsa Kodlarım
 

TheRedstoneMuhendisi

Ağaç Yumruklayıcı
Mesajlar
20
En iyi cevaplar
0
Beğeniler
7
Puanları
0
Hata olabilir
Kod:
on first join:
    set {olum.%player%} 0
    set {oldurme.%player%} 0
on death:
    victim is player:
        attacker is player:
            add {oldurme.%attacker%} 1
            remove {olum.%victim%} 1
command /stats:
    trigger:
        send "<green>Oldurme: {oldurme.%player%}" to player
        send "<red>Olum: {olum.%player%}"
---------------
Ben TheRedstoneEngineer
Mute yedim bu yan hesap.
 
Son düzenleme:

FrknZhlp

Founder Of TatliXYX & CraftingCodes
Mesajlar
223
En iyi cevaplar
0
Beğeniler
94
Puanları
340
Kod:
on first join:
    set {oldurme.%player%} to 0
    set {olme.%player%} to 0
on death:
    add 1 to {oldurme.%attacker%}
    add 1 to {olme.%victim%}
command /stats [<player>]:
    trigger:
        if arg 1 is set:
            send "&b-------------------------------" to player
            send "&7/stats (oyuncu adi)" to player
            send "&b-------------------------------" to player
            send "&bOyuncu Adi:&c %arg 1%" to player
            send "&bOldurme:&c %{oldurme.%arg 1%}%" to player
            send "&bOlme:&c %{olme.%arg 1%}%" to player
            send "&bK/D:&c %{oldurme.%arg 1%}%/%{olme.%arg 1%}% " to player
            send "&b-------------------------------" to player
        else:
            send "&b-------------------------------" to player
            send "&7/stats (oyuncu adi)" to player
            send "&b-------------------------------" to player
            send "&bOyuncu Adi:&c %player%" to player
            send "&bOldurme:&c %{oldurme.%player%}%" to player
            send "&bOlme:&c %{olme.%player%}%" to player
            send "&bK/D:&c %{oldurme.%player%}%/%{olme.%player%}% " to player
            send "&b-------------------------------" to player

Buyur /stats <player>
 

Bilalhh

Kızıltaş Madencisi
Mesajlar
499
En iyi cevaplar
0
Beğeniler
37
Puanları
500
Ruh hali
Kod:
on first join:
    set {oldurme.%player%} to 0
    set {olme.%player%} to 0
on death:
    add 1 to {oldurme.%attacker%}
    add 1 to {olme.%victim%}
command /stats [<player>]:
    trigger:
        if arg 1 is set:
            send "&b-------------------------------" to player
            send "&7/stats (oyuncu adi)" to player
            send "&b-------------------------------" to player
            send "&bOyuncu Adi:&c %arg 1%" to player
            send "&bOldurme:&c %{oldurme.%arg 1%}%" to player
            send "&bOlme:&c %{olme.%arg 1%}%" to player
            send "&bK/D:&c %{oldurme.%arg 1%}%/%{olme.%arg 1%}% " to player
            send "&b-------------------------------" to player
        else:
            send "&b-------------------------------" to player
            send "&7/stats (oyuncu adi)" to player
            send "&b-------------------------------" to player
            send "&bOyuncu Adi:&c %player%" to player
            send "&bOldurme:&c %{oldurme.%player%}%" to player
            send "&bOlme:&c %{olme.%player%}%" to player
            send "&bK/D:&c %{oldurme.%player%}%/%{olme.%player%}% " to player
            send "&b-------------------------------" to player

Buyur /stats <player>
Öldürme <none>
Ölme <none>

Gibi şeyler dedi :/[DOUBLEPOST=1437681632,1437681539][/DOUBLEPOST]
Kod:
on first join:
    set {olum.%player%} 0
    set {oldurme.%player%} 0
on death:
    victim is player:
        attacker is player:
            add {oldurme.%attacker%} 1
            remove {olum.%victim%} 1
command /stats:
    trigger:
        send "<green>Oldurme: {oldurme.%player%}" to player
        send "<red>Olum: {olum.%player%}"
---------------
Ben TheRedstoneEngineer
Mute yedim bu yan hesap.
Bu hiç olmadı -_-
 

TheRedstoneMuhendisi

Ağaç Yumruklayıcı
Mesajlar
20
En iyi cevaplar
0
Beğeniler
7
Puanları
0
Çalışmadığından olabilir mi .d

Oldürme {öldürme.Kullanıcı adım}
Ölme {ölme.kullanıcı adım}

Yazıyor
Kod:
on first join:
    set {%player%.olum} to 0
    set {%player%.olum} to 0
on death:
    victim is player:
        attacker is player:
            add 1 to {%attacker%.oldurme}
            add 1 to {%victim%.olum}
command /stats:
    trigger:
        send "<green>Oldurme: {%player%.olum}" to player
        send "<red>Olum: {%player%.olum}"
---------------
Ben TheRedstoneEngineer
Mute yedim bu yan hesap.
 

MhaWTHoR

Obsidyen Madencisi
Mesajlar
1,208
En iyi cevaplar
1
Beğeniler
1,161
Puanları
3,230
PHP:
on join:
    if {olme.%player%} is not set:
        set {olme.%player%} to 0
    if {oldurme.%player%} is not set:
        set {oldurme.%player%} to 0
on death:
    attacker is player:
        victim is player:
            add 1 to {oldurme.%attacker%}
            add 1 to {olme.%victim%}
command /stats:
    permission: stats.stats
    trigger:
        send "Oldurmeniz : %{oldurme.%player%}"
        send "Olme : %{olme.%player%}%"
 

Bilalhh

Kızıltaş Madencisi
Mesajlar
499
En iyi cevaplar
0
Beğeniler
37
Puanları
500
Ruh hali
PHP:
on join:
    if {olme.%player%} is not set:
        set {olme.%player%} to 0
    if {oldurme.%player%} is not set:
        set {oldurme.%player%} to 0
on death:
    attacker is player:
        victim is player:
            add 1 to {oldurme.%attacker%}
            add 1 to {olme.%victim%}
command /stats:
    permission: stats.stats
    trigger:
        send "Oldurmeniz : %{oldurme.%player%}"
        send "Olme : %{olme.%player%}%"
Olme <none>

:/[DOUBLEPOST=1437682086,1437681971][/DOUBLEPOST]
@FrknZhlp yaptığı çalışır, sadece farklı bir nick ile oyuna girmen lazım.
Deniyorum hemen .d
 

TheRedstoneMuhendisi

Ağaç Yumruklayıcı
Mesajlar
20
En iyi cevaplar
0
Beğeniler
7
Puanları
0
Kod:
on first join:
    set {oldurme.%player%} to 0
    set {olme.%player%} to 0
on death:
    add 1 to {oldurme.%attacker%}
    add 1 to {olme.%victim%}
command /stats [<player>]:
    trigger:
        if arg 1 is set:
            send "&b-------------------------------" to player
            send "&7/stats (oyuncu adi)" to player
            send "&b-------------------------------" to player
            send "&bOyuncu Adi:&c %arg 1%" to player
            send "&bOldurme:&c %{oldurme.%arg 1%}%" to player
            send "&bOlme:&c %{olme.%arg 1%}%" to player
            send "&bK/D:&c %{oldurme.%arg 1%}%/%{olme.%arg 1%}% " to player
            send "&b-------------------------------" to player
        else:
            send "&b-------------------------------" to player
            send "&7/stats (oyuncu adi)" to player
            send "&b-------------------------------" to player
            send "&bOyuncu Adi:&c %player%" to player
            send "&bOldurme:&c %{oldurme.%player%}%" to player
            send "&bOlme:&c %{olme.%player%}%" to player
            send "&bK/D:&c %{oldurme.%player%}%/%{olme.%player%}% " to player
            send "&b-------------------------------" to player

Buyur /stats <player>
@FrknZhlp yaptığı çalışır, sadece farklı bir nick ile oyuna girmen lazım.
Evet ama buglu. Bir hayvan öldürse de öldürme kazanır, o bir şey değil, bir mob oyuncuyu öldürürse de mob puan kazanır :D
---------------
Ben TheRedstoneEngineer
Mute yedim bu yan hesap.
 

Bilalhh

Kızıltaş Madencisi
Mesajlar
499
En iyi cevaplar
0
Beğeniler
37
Puanları
500
Ruh hali
Evet ama buglu. Bir hayvan öldürse de öldürme kazanır, o bir şey değil, bir mob oyuncuyu öldürürse de mob puan kazanır :D
---------------
Ben TheRedstoneEngineer
Mute yedim bu yan hesap.
Çalıştı ama dediği gibi buglu domuz öldürdüm öldürme 1 oldu .d[DOUBLEPOST=1437682616,1437682450][/DOUBLEPOST]
Kod:
on first join:
    set {%player%.olum} to 0
    set {%player%.olum} to 0
on death:
    victim is player:
        attacker is player:
            add 1 to {%attacker%.oldurme}
            add 1 to {%victim%.olum}
command /stats:
    trigger:
        send "<green>Oldurme: {%player%.olum}" to player
        send "<red>Olum: {%player%.olum}"
---------------
Ben TheRedstoneEngineer
Mute yedim bu yan hesap.
Yine aynı sadece kullanıcı adımla öldürme yer değişmiş .d
 

FrknZhlp

Founder Of TatliXYX & CraftingCodes
Mesajlar
223
En iyi cevaplar
0
Beğeniler
94
Puanları
340
Evet ama buglu. Bir hayvan öldürse de öldürme kazanır, o bir şey değil, bir mob oyuncuyu öldürürse de mob puan kazanır :D
---------------
Ben TheRedstoneEngineer
Mute yedim bu yan hesap.
Ben bu skritpti pvp sunucusu icin ayarladım mob olmayacağı için uğraşmadım hazırda vardı attım
 

Üst