CyberSkull4
Marangoz
- En iyi cevaplar
- 0
Merhaba arkadaşlar bügün sizlerle vote yani oylama yaparak bir kişiyi atma skripti paylaşacağım.Bu örnek mesala bir adam hack onu oylama yaparak o kişiyi oyundan atar.Şimdi bazılarınız diyecek adam yan çar açar adamı oyundan atar diye bunun çözümü authme,authmeden kayıt olma sayısını 1 yaparsanız 1 den fazla çar açamaz.Zaten bunu coğu kişi bilir.
Skript budur
Alıntıdır sadece 2-3 şey değiştirdim sonlarda eğer EGER CALISMAMISSA ALLTAN MESAJ OLARAK DÜZENLENMİŞ ŞEKLİNİ ATARSANIZ İYİ OLUR herkes FAYDANLANMIS OLUR
Kişi:moopeksmer
Skript budur
Kod:
every second:
Kod:
[/B][/B]
if {startvote.cooldown} is greater or equal to 0:
subtract 1 from {startvote.cooldown}
else if {startvote.cooldown} is less or equal to 0:
delete {startvote.cooldown}
Kod:
[/B]
command /resetvotes:
permission: ResetVotes.command[/B]
usage: /resetvotes[/B]
trigger:[/B]
message "&3&lAll votes was reset!"
delete {startvote.cooldown}
set {Votes For} to 0
set {Votes Against} to 0
loop all players:
delete {Already Voted.%loop-player%}
command /startvote [<text>]:
usage: /startvote <day/night>
trigger:
if arg 1 is not "day" or "night":
message "Usage: /startvote <day/night>"
stop
else if arg 1 is "day" or "night":
if {startvote.cooldown} is not set:
broadcast ""
broadcast " &3&l&n[Oylama]:"
broadcast " &3&l%player% &b&lOylama baslatıldı &3&l%arg 1%!"
broadcast " &b&lIf you want &3&l%arg 1%, &bdo &3&l/votefor."
broadcast " &b&lElse, do &3&l/voteagainst."
broadcast ""
set {startvote.cooldown} to 700
wait 60 seconds
broadcast ""
broadcast " &3&l&n[Oylama]:"
broadcast " &b&lThere are currently &3&l%{Votes For}% &b&lvotes for, and &3&l%{Votes Against}% &b&lvotes against."
broadcast " &b&lIf you want &3&l%arg 1%, &bdo &3&l/votefor."
broadcast " &b&lElse, do &3&l/voteagainst."
broadcast " &b&l10 seconds until vote closes."
broadcast ""
wait 10 seconds
if {Votes For} is greater than {Votes Against}:
broadcast ""
broadcast " &3&l&n[Oylama]:"
broadcast " &b&lThere is &3&l%{Votes For}% &b&lvotes for, and &3&l%{Votes Against}% &b&lvotes against."
broadcast " &b&lChanging time to &3&l%arg 1%&b&l!"
broadcast ""
if arg 1 is "day":
set time to 6 am
else if arg 1 is "night":
set time to 6 pm
set {Votes For} to 0
set {Votes Against} to 0
loop all players:
delete {Already Voted.%loop-player%}
stop
else if {Votes Against} is greater or equal to {Votes For}:
broadcast ""
broadcast " &3&l&n[Oylama]:"
broadcast " &b&lThere is &3&l%{Votes For}% &b&lvotes for, and &3&l%{Votes Against}% &b&lvotes against. "
broadcast " &b&lNo change today!"
broadcast ""
set {Votes For} to 0
set {Votes Against} to 0
loop all players:
delete {Already Voted.%loop-player%}
stop
else if {startvote.cooldown} is set:
message ""
message " &3&l&n[Oylama]:"
message " &b&lNext votefor can be started in &3&l%{startvote.cooldown}% &b&lseconds."
message ""
command /votefor:
usage: /votefor
trigger:
if {Already Voted.%player%} is not set:
if {startvote.cooldown} is set:
add 1 to {Votes For}
message ""
message " &3&l&n[Votes]:"
message " &b&lYou voted for!"
message ""
set {Already Voted.%player%} to true
else if {startvote.cooldown} is not set:
message "&b&lYou can't vote because there is nothing to vote for!"
stop
else if {Already Voted.%player%} is set:
message ""
message " &3&l&n[Votes]:"
message " &b&lYou have already voted!"
message ""
stop
Alıntıdır sadece 2-3 şey değiştirdim sonlarda eğer EGER CALISMAMISSA ALLTAN MESAJ OLARAK DÜZENLENMİŞ ŞEKLİNİ ATARSANIZ İYİ OLUR herkes FAYDANLANMIS OLUR
Kişi:moopeksmer
Son düzenleme: