options:
p: &a&lSilah &f&l> &7
pe: &a&lSilah &f&l> &c
on rightclick:
player is holding gold horse armor named "&eAk-47" with lore "&cOzellikler:||&bAtis Hizi &c0.5 Saniyede Bir||&bCan Goturme &c2 Kalp":
if {ak47.zaman.%player%} is true:
shoot an snowball from the player
set {ak47.zaman.%player%} to false
wait 0.5 seconds
set {ak47.zaman.%player%} to true
else:
cancel event
player is holding iron horse armor named "&7P90" with lore "&c&cOzellikler:||&bAtis Hizi &c0.25 Saniyede Bir||&bCan Goturme &c1 Kalp":
if {p90.zaman.%player%} is true:
shoot an snowball from the player
set {p90.zaman.%player%} to false
wait 0.25 seconds
set {p90.zaman.%player%} to true
else:
cancel event
player is holding diamond horse armor named "&bSSG 08" with lore "&c&cOzellikler:||&bAtis Hizi &c3 Saniyede Bir||&bCan Goturme &c5 Kalp":
if {ssg.zaman.%player%} is true:
shoot an snowball from the player
set {ssg.zaman.%player%} to false
wait 3 seconds
set {ssg.zaman.%player%} to true
else:
cancel event
on damage:
attacker is a player:
attacker is holding gold horse armor named "&eAk-47" with lore "&cOzellikler:||&bAtis Hizi &c0.5 Saniyede Bir||&bCan Goturme &c2 Kalp":
damage victim by 1 hearts
attacker is holding iron horse armor named "&7P90" with lore "&c&cOzellikler:||&bAtis Hizi &c0.25 Saniyede Bir||&bCan Goturme &c1 Kalp":
damage victim by 0.5 hearts
attacker is holding diamond horse armor named "&bSSG 08" with lore "&c&cOzellikler:||&bAtis Hizi &c3 Saniyede Bir||&bCan Goturme &c5 Kalp":
damage victim by 2.5 hearts
command /silah [<text>] [<text>] [<player>]:
permission: silah.admin
permission message: &cSadece Adminler!
trigger:
if arg-1 is not set:
send "&a&lSilah Skript Yardim &f- &8&lBy:SahinTR" to player
send "" to player
send "&c&l* &7/silah al [Silah Ismi] - Sana Istedigin Silahi Verir!" to player
send "&c&l* &7/silah ver [Silah Ismi] [Nick]- Istedigin Kisiye Istedigin Silahi Verir!" to player
send "&c&l* &7/silah liste - Butun Silahlari Listeler!" to player
send "&c&l* &7/silah yenile - Skript Dosyasini Yeniler!" to player
send "" to player
send "&c&l* &7Prefix : {@p} Prefix" to player
send "&c&l* &7Hata Prefix : {@pe} Hata Prefix" to player
send "&a&lSilah Skript Yardim &f- &8&lBy:SahinTR" to player
if arg-1 is "al":
if arg-3 is not set:
if arg-2 is "Ak-47":
send "{@p} Basariyla %arg 2% Silahini Aldin" to player
give 1 gold horse armor named "&eAk-47" with lore "&cOzellikler:||&bAtis Hizi &c0.5 Saniyede Bir||&bCan Goturme &c2 Kalp" to player
if arg-2 is "P90":
send "{@p} Basariyla %arg 2% Silahini Aldin" to player
give 1 iron horse armor named "&7P90" with lore "&c&cOzellikler:||&bAtis Hizi &c0.25 Saniyede Bir||&bCan Goturme &c1 Kalp" to player
if arg-2 is "SSG 08":
send "{@p} Basariyla %arg 2% Silahini Aldin" to player
give 1 diamond horse armor named "&bSSG 08" with lore "&c&cOzellikler:||&bAtis Hizi &c3 Saniyede Bir||&bCan Goturme &c5 Kalp" to player
if arg-2 is not "Ak-47" or "P90" or "SSG 08":
send "{@pe} Daha Yeni Guncellestirme Gelmedi Bu Silahlarla Idare Edin &cAk-47, P90, SSG 08!"
else:
send "{@pe} Fazladan Satir Girdiniz!" to player
if arg-1 is "ver":
if arg-3 is set:
if arg-2 is "Ak-47":
send "{@p} Basariyla %arg 2% Silahini %player-argument% Adli Oyuncuya Verdin" to player
send "{@p} %player% Adli Kisi Sana %arg 2% Silahini Verdi" to player-argument
give 1 gold horse armor named "&eAk-47" with lore "&cOzellikler:||&bAtis Hizi &c0.5 Saniyede Bir||&bCan Goturme &c2 Kalp" to player-argument
if arg-2 is "P90":
send "{@p} Basariyla %arg 2% Silahini %arg 3% Adli Oyuncuya Verdin" to player
send "{@p} %player% Adli Kisi Sana %arg 2% Silahini Verdi" to player-argument
give 1 iron horse armor named "&7P90" with lore "&c&cOzellikler:||&bAtis Hizi &c0.25 Saniyede Bir||&bCan Goturme &c1 Kalp" to player-argument
if arg-2 is "SSG 08":
send "{@p} Basariyla %arg 2% Silahini %arg 3% Adli Oyuncuya Verdin" to player
send "{@p} %player% Adli Kisi Sana %arg 2% Silahini Verdi" to player-argument
give 1 diamond horse armor named "&bSSG 08" with lore "&c&cOzellikler:||&bAtis Hizi &c3 Saniyede Bir||&bCan Goturme &c5 Kalp" to player-argument
if arg-2 is not "Ak-47" or "P90" or "SSG 08":
send "{@pe} Daha Yeni Guncellestirme Gelmedi Bu Silahlarla Idare Edin &cAk-47, P90, SSG 08!"
else:
send "{@pe} Oyuncu Ismi Giriniz!" to player
if arg-1 is "liste":
if arg-3 is not set:
if arg-2 is not set:
send "{@p} Silah Listesi" to player
send "" to player
send "&c&l* &eAk-47 &c&l* &7P90" to player
send "&c&l* &bSSG 08" to player
else:
send "{@pe} Fazladan Satir Girdiniz!" to player
else:
send "{@pe} Fazladan Satir Girdiniz!" to player
if arg-1 is "yenile":
if arg-3 is not set:
if arg-2 is not set:
execute console command "sk reload silah"
else:
send "{@pe} Fazladan Satir Girdiniz!" to player
else:
send "{@pe} Fazladan Satir Girdiniz!" to player
on join:
set {ak47.zaman.%player%} to true
set {p90.zaman.%player%} to true
set {ssg.zaman.%player%} to true