Merhaba forum severler ve saydı değer skripter arkadaşlarımız, benim sizlerden 2 tane kolay bir isteğim var.Bu isteklerim şudur; Bir oyuncu her hangi bir mobu kestiği zaman para o oyuncuya para gelmesini istiyorum ama bunu ayarlı bir şekilde ne bileyim, zombiede 5 TL, iskelette 3 TL gibi böyle ve mesajlı bir şekilde istiyorum mesela: Zombi adli mobu kestin ve 5 TL kazandin, gibi bir mesaj istiyorum bunu bana yaparmısınız.Ve ikinci isteğimde şudur ki oyuncularımın maden kazarken stone (taş) kırınca belirli yüzdeliklerde elmas, demir vb. madenler gelmesini istiyorum.Mesela; %1 oranla elmas, %2 oranla demir gibi bunları siz yapın ben yüzdelik dilimlerini ayarlarım.Şimdiden teşekkürler arkadaşlar
EDİT: Bir sorum daha olucaktı, ben bir .sk dosyasına bir den fazla skript koydum sorun olur mu mesela şöyle;
EDİT: Bir sorum daha olucaktı, ben bir .sk dosyasına bir den fazla skript koydum sorun olur mu mesela şöyle;
Kod:
on block damage:
trigger:
send "Blok kirmaya basladin, kolay gelsin." to player
[/LEFT]
#--------- RAPOR SK BY MCILTROT34 (KEMAL895) ---------#
#--------- AYARLAR --------#
on script load:
send "******************" to console
send " > Rapor SK < " to console
send " > KemaL895 < " to console
send "******************" to console
if {rapor.sayi} is not set:
set {rapor.sayi} to 0
options:
skype: mehmet.alageyik2
prefix: &b[&6Rapor&b]
#-------- KOMUTLAR ---------#
command /rapor:
trigger:
open chest with 1 rows named "&bRapor Menü" to player
wait 0.2 second
format slot 0 of player with book named "&bŞuana Kadar Toplam Rapor Sayısı" with lore "&2%{rapor.sayi}%" to close then run "send {rapor.sayi}"
wait 0.2 second
format slot 1 of player with paper named "&6Birini Rapor Et" with lore "&2Birini rapor etmek için tıkla !" to close then run "raporetmenu %player%"
wait 0.2 second
format slot 2 of player with diamond named "&6Yetkili Skype Adresleri" with lore "{@skype}" to close then run "send {@skype}"
wait 0.2 second
format slot 8 of player with nether star named "&4&nSonAtes" to close then run "send &4&nSonAtes"
stop
command /raporetmenu [<player>]:
trigger:
command sender is console
if arg 1 is not set:
set {raporchat.%player%} to true
set {raporasamachat.%player%} to "1"
send "{@prefix} &aLütfen Rapor Edeceğiniz Kişinin Adını Yazınız. Eğer Düzgün Rapor Yazmaz İseniz Sunucudan Uzaklaştırılabilirsiniz." to player
add 1 to {rapor.sayi}
else:
set {raporchat.%arg 1%} to true
set {raporasamachat.%arg 1%} to "1"
send "{@prefix} &aLütfen Rapor Edeceğiniz Kişinin Adını Yazınız. Eğer Düzgün Rapor Yazmaz İseniz Sunucudan Uzaklaştırılabilirsiniz." to arg 1
add 1 to {rapor.sayi}
command /raporet:
trigger:
set {raporchat.%player%} to true
set {raporasamachat.%player%} to "1"
send "{@prefix} &aLütfen Rapor Edeceğiniz Kişinin Adını Yazınız. Eğer Düzgün Rapor Yazmaz İseniz Sunucudan Uzaklaştırılabilirsiniz." to player
add 1 to {rapor.sayi}
#--------- MEKANIKLER ---------#
on chat:
if {raporchat.%player%} is true:
cancel event
if {raporasamachat.%player%} is "1":
set {raporedilen.%player%} to message
send "{@prefix} &aLütfen Rapor Sebebinizi Yazınız."
wait 1 second
set {raporasamachat.%player%} to "2"
stop
if {raporasamachat.%player%} is "2":
set {raporsebebi.%player%} to message
send "{@prefix} &aRaporunuz iletilmiştir. İyi Oyunlar Dileriz :)"
log "Rapor Eden : %player%" to "raporlar.log"
log "Rapor Edilen : %{raporedilen.%player%}%" to "raporlar.log"
log "Rapor Sebebi : %{raporsebebi.%player%}%" to "raporlar.log"
log "**************************************************" to "raporlar.log"
loop all players:
if loop-player is op:
send "{@prefix} &aBir Rapor Geldi !"
send "{@prefix} &3Rapor Eden &0: &2%player%" to loop-player
send "{@prefix} &3Rapor Edilen &0: &2%{raporedilen.%player%}%" to loop-player
send "{@prefix} &3Rapor Sebebi &0: &2%{raporsebebi.%player%}%" to loop-player
clear {raporchat.%player%}
clear {raporasamachat.%player%}
clear {raporedilen.%player%}
clear {raporsebebi.%player%}
stop
on break:
give 1 of event-block to player
on place of a TNT:
cancel the event
send "Tnt Yere Koyamassin!"
wait 1 seconds
remove all TNT from the player
on place of a MINECART:
cancel the event
send "Vagonu Yere Koyamassin!"
wait 1 seconds
remove all MINECART from the player
YARDIMLARINIZI BEKLİYORUM, TEŞEKKÜRLER.