options:
p: &8[&aMC-TR&8]
variables:
{atmsoy.%player%} = false
on sign change:
if player has permission "sk.admin":
if line 1 is "[ATM]":
if line 2 is "SOY":
set line 1 to "&8[&2ATM&8]"
set line 2 to "&9SOY"
set {tabela.%location of targeted block%} to location of targeted block
send "{@p} &7Tabela başarıyla yerleştirildi!" to player
on break a sign or wall sign:
if {tabela.%location of targeted block%} is set:
if player has permission "sk.admin":
delete {tabela.%location of targeted block%}
send "{@p} &cTabela Kaldırıldı!" to player
else:
cancel event
on rightclick on sign:
if line 1 of clicked block is "&8[&2ATM&8]":
if line 2 of clicked block is "&9SOY":
make player execute command "atmsoy"
set {atmsoy.%player%} to true
command /atmsoy:
trigger:
if {atmsoy.%player%} is true:
set {atmsoy.%player%} to false
set the freeze state of player to true
broadcast "{@p} %player% ATM'yi Soyuyor!"
wait 3 second
execute console command "eco give %player% 50"
broadcast "{@p} %player% ATM'yi Soyuyor!"
wait 3 second
execute console command "eco give %player% 50"
broadcast "{@p} %player% ATM'yi Soyuyor!"
wait 3 second
execute console command "eco give %player% 50"
broadcast "{@p} %player% ATM'yi Soyuyor!"
wait 3 second
execute console command "eco give %player% 50"
broadcast "{@p} %player% ATM'yi Soyuyor!"
set the freeze state of player to false
else:
send "{@p} &7Tabelaya tıklamalısın!"
stop
Bi Özele Gelirmisingerektirir.Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
Tabelanın ilk satırına [ATM] ikinci satırına SOY yazmalısın. Yazdığından anladığım kadarıyla bunu yaptım:
Kod:options: p: &8[&aMC-TR&8] variables: {atmsoy.%player%} = false on sign change: if player has permission "sk.admin": if line 1 is "[ATM]": if line 2 is "SOY": set line 1 to "&8[&2ATM&8]" set line 2 to "&9SOY" set {tabela.%location of targeted block%} to location of targeted block send "{@p} &7Tabela başarıyla yerleştirildi!" to player on break a sign or wall sign: if {tabela.%location of targeted block%} is set: if player has permission "sk.admin": delete {tabela.%location of targeted block%} send "{@p} &cTabela Kaldırıldı!" to player else: cancel event on rightclick on sign: if line 1 of clicked block is "&8[&2ATM&8]": if line 2 of clicked block is "&9SOY": make player execute command "atmsoy" set {atmsoy.%player%} to true command /atmsoy: trigger: if {atmsoy.%player%} is true: set {atmsoy.%player%} to false set the freeze state of player to true broadcast "{@p} %player% ATM'yi Soyuyor!" wait 3 second execute console command "eco give %player% 50" broadcast "{@p} %player% ATM'yi Soyuyor!" wait 3 second execute console command "eco give %player% 50" broadcast "{@p} %player% ATM'yi Soyuyor!" wait 3 second execute console command "eco give %player% 50" broadcast "{@p} %player% ATM'yi Soyuyor!" wait 3 second execute console command "eco give %player% 50" broadcast "{@p} %player% ATM'yi Soyuyor!" set the freeze state of player to false else: send "{@p} &7Tabelaya tıklamalısın!" stop
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!