SerhatGundogdu
Zombi Katili
- Mesajlar
- 243
- En iyi cevaplar
- 0
- Beğeniler
- 35
- Puanları
- 140
Evet Arkadaşlar Baya bi uraş sonunda hazırladığım vote skriptini tanıtıcağım biraz bugları var fakat çalışıyor
/ayarla 1 ile 1.spawnı . 2 ile 2. spawnı ayarlaya bilirsiniz ayarla 5 ten sonrası yoktur
5 dakikada bir map değişir 5 dakikadan önce değiştirmek isterseniz ./değiştir komutunu kullanabilirsiniz
en yüksek vote alan map değişir
Hatalarımı belirtirseniz sevinirim
/ayarla 1 ile 1.spawnı . 2 ile 2. spawnı ayarlaya bilirsiniz ayarla 5 ten sonrası yoktur
5 dakikada bir map değişir 5 dakikadan önce değiştirmek isterseniz ./değiştir komutunu kullanabilirsiniz
en yüksek vote alan map değişir
Hatalarımı belirtirseniz sevinirim
Kod:
Options:
Map1: &8[&6PokerPVP&8] #Prefix
on login:
{yap.vote1} is not set:
set {yap.vote1} to 0
on login:
{yap.vote2} is not set:
set {yap.vote2} to 0
on login:
{yap.vote3} is not set:
set {yap.vote3} to 0
on login:
{yap.vote4} is not set:
set {yap.vote4} to 0
on login:
{yap.vote5} is not set:
set {yap.vote5} to 0
command /vote [<number>]:
trigger:
if arg 1 is set:
if arg 1 is 1:
add 1 to {yap.vote1}
if arg 1 is 2:
add 1 to {yap.vote2}
if arg 1 is 3:
add 1 to {yap.vote3}
if arg 1 is 4:
add 1 to {yap.vote4}
if arg 1 is 5:
add 1 to {yap.vote5}
arg 1 is greater than 5:
send "&8[&6xPoker&8] &cSectiginiz sayi &e5 &cden buyuk olamaz."
if arg 1 is not set:
message "&8[&fPokerPVP&8]&2 Players waiting&8: [&6%number of all players%&f/&632&8] &2Every &8[&65&8] &2minutes changing"
message "&8[&fPokerPVP&8]&2Vote using &8[&a/vote (number)&8]"
message "&8[&fPokerPVP&8]&2Previous maps playing &8: &7%world%"
message "&8[&fPokerPVP&8]&a 1&8 > &a%{yap.vote1}% &7Votes&8 : &2POKERPVP"
message "&8[&fPokerPVP&8]&a 2&8 > &a%{yap.vote2}% &7Votes&8 : &2POKERPVP"
message "&8[&fPokerPVP&8]&a 3&8 > &a%{yap.vote3}% &7Votes&8 : &2POKERPVP"
message "&8[&fPokerPVP&8]&a 4&8 > &a%{yap.vote4}% &7Votes&8 : &2POKERPVP"
message "&8[&fPokerPVP&8]&a 5&8 > &a%{yap.vote5}% &7Votes&8 : &2POKERPVP"
command /değiştir:
permission: vote.admin
trigger:
if {yap.vote1} is greater than {yap.vote2} and {yap.vote3} and {yap.vote4} and {yap.vote5}:
teleport players to {deneme}
if {yap.vote2} is greater than {yap.vote1} and {yap.vote3} and {yap.vote4} and {yap.vote5}:
teleport players to {deneme2}
if {yap.vote3} is greater than {yap.vote1} and {yap.vote2} and {yap.vote4} and {yap.vote5}:
teleport players to {deneme3}
if {yap.vote4} is greater than {yap.vote1} and {yap.vote2} and {yap.vote3} and {yap.vote5}:
teleport players to {deneme4}
if {yap.vote5} is greater than {yap.vote1} and {yap.vote3} and {yap.vote4} and {yap.vote2}:
teleport players to {deneme5}
command /ayarla [<number>]:
trigger:
if arg 1 is 1:
set {deneme} to location of player
send "spawn 1 hazır"
if arg 1 is 2:
set {deneme2} to location of player
send "spawn 2 hazır"
if arg 1 is 3:
set {deneme3} to location of player
send "spawn 3 hazır"
if arg 1 is 4:
set {deneme4} to location of player
send "spawn 4 hazır"
if arg 1 is 5:
set {deneme5} to location of player
send "spawn 5 hazır"
every 5 minutes:
execute console command "/değiştir"
wait 3 second
set {yap.vote2} to 0
set {yap.vote1} to 0
set {yap.vote3} to 0
set {yap.vote4} to 0
set {yap.vote5} to 0
Son düzenleme: