Zombie yerine Cow yaptım denedim. Ama çalışmadı. Kod burada:on death of zombie doğru.
on death of cow:
if player has the permission "avci.yetki":
if {avci.%player%} is false:
execute console command "money give %player% 5"
give 3 xp to player
send "&bAferin &cAvci&b! Bir hayvan kestigin icin 5 TL ve 3 XP kazandin."
wait 2 ticks
set {avci.%player%} to true
wait 45 seconds
set {avci.%player%} to false
on death of zombie:
if {avci.%player%} is true:
if player has the permission "avci.yetki":
execute console command "money take %player% 5"
send "&bBiraz beklemen lazim &cAvci&b! Her &445 &bsaniyede bir hayvan oldurebilirsin. Bunu yaptigin icin senden &45 TL aldik!"
on death:
victim is pig
attacker is player
if player has the permission "avci.yetki":
if {avci.%player%} is false:
execute console command "money give %player% 5"
give 3 xp to player
send "&bAferin &cAvci&b! Bir hayvan kestigin icin 5 TL ve 3 XP kazandin." to attacker
wait 2 ticks
set {avci.%player%} to true
wait 45 seconds
set {avci.%player%} to false
on death:
victim is pig
attacker is player
if {avci.%player%} is true:
if player has the permission "avci.yetki":
execute console command "money take %player% 5"
send "&bBiraz beklemen lazim &cAvci&b! Her &445 &bsaniyede bir hayvan oldurebilirsin. Bunu yaptigin icin senden &45 TL aldik!" to attacker
Şu kısım düzgün çalışıyor mu ona göre?Sizin dediğinize göre yaptım. Ama sorun sadece mesaj göndermesi değil. Domuzu kesiyorum ama hiçbir mesaj, xp gelmesi falan olmuyor. Yani skript işlemiyor sanırsam. Diğer skriptler normal çalışıyor ama. Kod bu:
Yardım lütfen. @ReMaKeR @Axel102 @Epistomoloji @enes lol lol @GetqusA[DOUBLEPOST=1438536264,1438533762][/DOUBLEPOST]Yardıım :/PHP:on death: victim is pig attacker is player if player has the permission "avci.yetki": if {avci.%player%} is false: execute console command "money give %player% 5" give 3 xp to player send "&bAferin &cAvci&b! Bir hayvan kestigin icin 5 TL ve 3 XP kazandin." to attacker wait 2 ticks set {avci.%player%} to true wait 45 seconds set {avci.%player%} to false on death: victim is pig attacker is player if {avci.%player%} is true: if player has the permission "avci.yetki": execute console command "money take %player% 5" send "&bBiraz beklemen lazim &cAvci&b! Her &445 &bsaniyede bir hayvan oldurebilirsin. Bunu yaptigin icin senden &45 TL aldik!" to attacker