StayLing
Fırında Isıttığım İlk Taş
- Katılım
- 2 Haziran 2021
- Mesajlar
- 78
- Elmaslar
- 30
- Puan
- 9.055
- Minecraft
- _StayLing_
Discord:
StayLing
WMCASİNO • V0.01
Sevgili Minecraft tutkunları, bugün sizlere kodladığım WMCASİNO skriptini tanıtacağım.
Skript tamamen Ücretsiz olarak sizlerle paylaşılacaktır ve sürekli güncelleme alacaktır.
Eklenti hakkında düşüncelerinizi ve önerilerinizi yazmanızı önemle rica ediyorum.
Tanıtıma başlamadan önce söylemek istediğim bir şey var.
Lütfen konu atlında "Plugin olarak yapabilirdin" tarzında yazılar yazmayın, zaten yakında eklentiye çevirilecektir.
Skript tamamen Ücretsiz olarak sizlerle paylaşılacaktır ve sürekli güncelleme alacaktır.
Eklenti hakkında düşüncelerinizi ve önerilerinizi yazmanızı önemle rica ediyorum.
Tanıtıma başlamadan önce söylemek istediğim bir şey var.
Lütfen konu atlında "Plugin olarak yapabilirdin" tarzında yazılar yazmayın, zaten yakında eklentiye çevirilecektir.
Skript Hakkında
Eklentide menüleri ,yazıları, ücret değişikliği ve çarpan değiştirmeniz için kaynak kodlarına dokunmanıza gerek kalmadan
WMCasino dosyasından düzenleyebilirsiniz.
Tüm dosyaları kolayca anlayabilmeniz için dosya düzenine önem verilerek kolay bir ara yüz tasarlandı.
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
Eklentiyi yenilemek için "Sk reload" gibi komutları kullanmanıza gerek kalmadan
"Casino reload" yazarak eklentiyi yenileyebilirsiniz.
Dosyalar oluşturulduğunda konsolda log bırakacak şekilde hazırlandı.
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
Skript içerisinde kaynak kodları ile oynayabilmeniz için düzene önem verilerek yazıldı.
Oyun oynamak için yeterli paranız olmadığında,
oyun kazandığınızda veya kaybettiğinizde düzenlenebilir mesajlar bulunuyor.
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
Slot makinesi menüsünü isteğinize bağlı olarak kolay bir şekilde Gui.yml dosyası üzerinden değiştirebilirsiniz.
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
Slot makinesi şık bir animasyona sahip, bulabildiğimiz tüm hataları düzelttik ve bu şekilde sunuyoruz.
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
WMCasino dosyasından düzenleyebilirsiniz.
Tüm dosyaları kolayca anlayabilmeniz için dosya düzenine önem verilerek kolay bir ara yüz tasarlandı.
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
Eklentiyi yenilemek için "Sk reload" gibi komutları kullanmanıza gerek kalmadan
"Casino reload" yazarak eklentiyi yenileyebilirsiniz.
Dosyalar oluşturulduğunda konsolda log bırakacak şekilde hazırlandı.
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
Skript içerisinde kaynak kodları ile oynayabilmeniz için düzene önem verilerek yazıldı.
Oyun oynamak için yeterli paranız olmadığında,
oyun kazandığınızda veya kaybettiğinizde düzenlenebilir mesajlar bulunuyor.
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
Slot makinesi menüsünü isteğinize bağlı olarak kolay bir şekilde Gui.yml dosyası üzerinden değiştirebilirsiniz.
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
Slot makinesi şık bir animasyona sahip, bulabildiğimiz tüm hataları düzelttik ve bu şekilde sunuyoruz.
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣
Skript
#
# ██╗ ██╗███╗ ███╗ █████╗ ██╗ █████╗ █████╗ ██████╗██╗███╗ ██╗ █████╗
# ██║ ██╗ ██║████╗ ████║██╔══██╗ ██╔╝ ██╔══██╗██╔══██╗██╔════╝██║████╗ ██║██╔══██╗
# ╚██╗████╗██╔╝██╔████╔██║██║ ╚═╝ ██╔╝ ██║ ╚═╝███████║╚█████╗ ██║██╔██╗██║██║ ██║
# ████╔═████║ ██║╚██╔╝██║██║ ██╗ ██╔╝ ██║ ██╗██╔══██║ ╚═══██╗██║██║╚████║██║ ██║
# ╚██╔╝ ╚██╔╝ ██║ ╚═╝ ██║╚█████╔╝ ██╔╝ ╚█████╔╝██║ ██║██████╔╝██║██║ ╚███║╚█████╔╝
# ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝╚═════╝ ╚═╝╚═╝ ╚══╝ ╚════╝
#
# Before changing anything in this file, please create a support request on our Discord server.
# Changing any file can even lead to complete corruption of the plugin package, it is recommended not to apply settings without authorized support.
# Pre-loading
Load:
WMCYAML()
WMCYAMLImport()
# Yaml
function WMCYAML():
load yaml "plugins/WMCasino/Config.yml" as "config"
if yaml "config" is empty:
set yaml value "WMCasino.Version" from "config" to "v0.01"
set yaml value "WMCasino.Care" from "config" to "true"
set yaml value "WMCasino.Prefix" from "config" to "&c&oWMCasino &8&l>"
set yaml value "WMCasino.Permission" from "config" to "WMCasino.Admin"
set yaml value "WMCasino.Permission-Message" from "config" to "&cBu komutu kullanabilmek için yönetici olmanız gerekmektedir!"
add "" to yaml list "WMCasino.Admin-List" from "config"
set the comments of yaml node "WMCasino" from "config" to "" and " ██╗ ██╗███╗ ███╗ █████╗ ██╗ █████╗ █████╗ ██████╗██╗███╗ ██╗ █████╗" and " ██║ ██╗ ██║████╗ ████║██╔══██╗ ██╔╝ ██╔══██╗██╔══██╗██╔════╝██║████╗ ██║██╔══██╗" and " ╚██╗████╗██╔╝██╔████╔██║██║ ╚═╝ ██╔╝ ██║ ╚═╝███████║╚█████╗ ██║██╔██╗██║██║ ██║" and " ████╔═████║ ██║╚██╔╝██║██║ ██╗ ██╔╝ ██║ ██╗██╔══██║ ╚═══██╗██║██║╚████║██║ ██║" and " ╚██╔╝ ╚██╔╝ ██║ ╚═╝ ██║╚█████╔╝ ██╔╝ ╚█████╔╝██║ ██║██████╔╝██║██║ ╚███║╚█████╔╝" and " ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝╚═════╝ ╚═╝╚═╝ ╚══╝ ╚════╝ "
set yaml value "WMCasino-Settings.Slot-Machine.Price" from "config" to "500"
set yaml value "WMCasino-Settings.Slot-Machine.Item1.Multiplier" from "config" to "2"
set yaml value "WMCasino-Settings.Slot-Machine.Item2.Multiplier" from "config" to "2"
set yaml value "WMCasino-Settings.Slot-Machine.Item3.Multiplier" from "config" to "2"
#File Create Message
send "%nl%%nl%&c&oWMCasino &8&l> &fplugins/WMCasino/Config.yml &7Files created%nl%" to console
save yaml "config"
#Gui
load yaml "plugins/WMCasino/Gui.yml" as "gui"
if yaml "gui" is empty:
#Main Menu
set yaml value "WMCasino-Gui.Main-Menu.Name" from "gui" to "WMCasino"
set yaml value "WMCasino-Gui.Main-Menu.Type" from "gui" to "hopper (You cannot change this part yet)"
set yaml value "WMCasino-Gui.Main-Menu.Height" from "gui" to "1"
set yaml value "WMCasino-Gui.SM-Spin.Name" from "gui" to "Slot machine is spinning"
set yaml value "WMCasino-Gui.SM-Spin.Type" from "gui" to "dropper (You cannot change this part yet)"
set yaml value "WMCasino-Gui.SM-Spin.Height" from "gui" to "1"
set the comments of yaml node "WMCasino-Gui" from "gui" to "" and " ██╗ ██╗███╗ ███╗ █████╗ ██╗ █████╗ █████╗ ██████╗██╗███╗ ██╗ █████╗" and " ██║ ██╗ ██║████╗ ████║██╔══██╗ ██╔╝ ██╔══██╗██╔══██╗██╔════╝██║████╗ ██║██╔══██╗" and " ╚██╗████╗██╔╝██╔████╔██║██║ ╚═╝ ██╔╝ ██║ ╚═╝███████║╚█████╗ ██║██╔██╗██║██║ ██║" and " ████╔═████║ ██║╚██╔╝██║██║ ██╗ ██╔╝ ██║ ██╗██╔══██║ ╚═══██╗██║██║╚████║██║ ██║" and " ╚██╔╝ ╚██╔╝ ██║ ╚═╝ ██║╚█████╔╝ ██╔╝ ╚█████╔╝██║ ██║██████╔╝██║██║ ╚███║╚█████╔╝" and " ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝╚═════╝ ╚═╝╚═╝ ╚══╝ ╚════╝ "
#Slot Machine
set yaml value "WMCasino-Gui-Button.Main-Menu.Button.Slot-Machine.Item" from "gui" to "glow berries"
set yaml value "WMCasino-Gui-Button.Main-Menu.Button.Slot-Machine.Slot" from "gui" to "2"
set yaml value "WMCasino-Gui-Button.Main-Menu.Button.Slot-Machine.Name" from "gui" to "&eSlot Makinesi"
add "" and "&7Makineni ekranında üç" and "&7ya da daha fazla" and "&7sayıda makara bulunur" and "" and "&7Makaralar döndükten sonra" and "&7ekrandaki hizada duran" and "&7sembollere göre müşteriye" and "&7ödeme yapılır" and "" and "&eÜcret: &f{SlotMachine-Price}" and "" and "&eOynamak için tıkla" to yaml list "WMCasino-Gui-Button.Main-Menu.Button.Slot-Machine.Lore" from "gui"
#Slot Machine Spin
set yaml value "WMCasino-Gui-Button.SM-Spin.Item-1.Item" from "gui" to "glow berries"
set yaml value "WMCasino-Gui-Button.SM-Spin.Item-1.Name" from "gui" to "&e{SM::Item1-Multiplier}"
set yaml value "WMCasino-Gui-Button.SM-Spin.Item-2.Item" from "gui" to "golden carrot"
set yaml value "WMCasino-Gui-Button.SM-Spin.Item-2.Name" from "gui" to "&e{SM::Item2-Multiplier}"
set yaml value "WMCasino-Gui-Button.SM-Spin.Item-3.Item" from "gui" to "melon slice"
set yaml value "WMCasino-Gui-Button.SM-Spin.Item-3.Name" from "gui" to "&e{SM::Item3-Multiplier}"
#File Create Message
send "%nl%%nl%&c&oWMCasino &8&l> &fplugins/WMCasino/Gui.yml &7Files created%nl%" to console
save yaml "gui"
#Language
load yaml "plugins/WMCasino/Language.yml" as "lang"
if yaml "lang" is empty:
set yaml value "WMCasino-Language.Payment.Warn" from "lang" to "&cHesabınızda yeterince para bulunmuyor!"
set yaml value "WMCasino-Language.Payment.Confirm" from "lang" to "&cHesabınızdan {SlotMachine-Price} miktarında para çıkarıldı!"
set yaml value "WMCasino-Language.Win" from "lang" to "&cSlot makinesinden &f{Profit} &cbakiye kazandınız!"
set yaml value "WMCasino-Language.Lose" from "lang" to "&cKaybettiniz :("
#File Create Message
send "%nl%%nl%&c&oWMCasino &8&l> &fplugins/WMCasino/Language.yml &7Files created%nl%" to console
save yaml "lang"
# Yaml-Import
function WMCYAMLImport():
#Config.yml
set {WMCasino::Version} to yaml value "WMCasino.Version" from "config"
set {WMCasino::Care} to yaml value "WMCasino.Care" from "config"
set {WMCasino::Prefix} to yaml value "WMCasino.Prefix" from "config"
set {WMCasino::Permission} to yaml value "WMCasino.Permission" from "config"
set {WMCasino::Permission-Message} to yaml value "WMCasino.Permission-Message" from "config"
set {WMCasinoSettings::SM::Price} to yaml value "WMCasino-Settings.Slot-Machine.Price" from "config"
set {WMCasinoSettings::SM::I1::Multiplier} to yaml value "WMCasino-Settings.Slot-Machine.Item1.Multiplier" from "config"
set {WMCasinoSettings::SM::I2::Multiplier} to yaml value "WMCasino-Settings.Slot-Machine.Item2.Multiplier" from "config"
set {WMCasinoSettings::SM::I3::Multiplier} to yaml value "WMCasino-Settings.Slot-Machine.Item3.Multiplier" from "config"
#Gui.yml
set {WMCasino-Gui::MM::Name} to yaml value "WMCasino-Gui.Main-Menu.Name" from "gui"
set {WMCasino-Gui::MM::Type} to yaml value "WMCasino-Gui.Main-Menu.Type" from "gui"
set {WMCasino-Gui::MM::Height} to yaml value "WMCasino-Gui.Main-Menu.Height" from "gui"
set {WMCasino-Gui::SM::Name} to yaml value "WMCasino-Gui.SM-Spin.Name" from "gui"
set {WMCasino-Gui::SM::Type} to yaml value "WMCasino-Gui.SM-Spin.Type" from "gui"
set {WMCasino-Gui::SM::Height} to yaml value "WMCasino-Gui.SM-Spin.Height" from "gui"
set {WMCasino-Gui-Button::MM::B::SM:Item} to yaml value "WMCasino-Gui-Button.Main-Menu.Button.Slot-Machine.Item" from "gui"
set {WMCasino-Gui-Button::MM::B::SM:Slot} to yaml value "WMCasino-Gui-Button.Main-Menu.Button.Slot-Machine.Slot" from "gui"
set {WMCasino-Gui-Button::MM::B::SM:Name} to yaml value "WMCasino-Gui-Button.Main-Menu.Button.Slot-Machine.Name" from "gui"
set {WMCasino-Gui-Button::SMS::Item1::Item} to yaml value "WMCasino-Gui-Button.SM-Spin.Item-1.Item" from "gui"
set {WMCasino-Gui-Button::SMS::Item1::Name} to yaml value "WMCasino-Gui-Button.SM-Spin.Item-1.Name" from "gui"
set {WMCasino-Gui-Button::SMS::Item2::Item} to yaml value "WMCasino-Gui-Button.SM-Spin.Item-2.Item" from "gui"
set {WMCasino-Gui-Button::SMS::Item2::Name} to yaml value "WMCasino-Gui-Button.SM-Spin.Item-2.Name" from "gui"
set {WMCasino-Gui-Button::SMS::Item3::Item} to yaml value "WMCasino-Gui-Button.SM-Spin.Item-3.Item" from "gui"
set {WMCasino-Gui-Button::SMS::Item3::Name} to yaml value "WMCasino-Gui-Button.SM-Spin.Item-3.Name" from "gui"
#Language.yml
set {WMCasino-Language::P::Warn} to yaml value "WMCasino-Language.Payment.Warn" from "lang"
set {WMCasino-Language::P::Confirm} to yaml value "WMCasino-Language.Payment.Confirm" from "lang"
set {WMCasino-Language::Win} to yaml value "WMCasino-Language.Win" from "lang"
set {WMCasino-Language::Lose} to yaml value "WMCasino-Language.Lose" from "lang"
# Commands
Command Casino [<text>]:
permission: {WMCasino::Permission}
permission message: %nl%%{WMCasino::Permission-Message}%%nl%
trigger:
if arg-1 isn't set:
WMCasinoMM(player)
else if arg-1 is "reload":
if "plugins/Skript/scripts/%script's name%" exist:
if sender is console:
execute console command "sk reload %script's name%"
if sender is player:
execute player command "sk reload %script's name%"
else if arg-1 is "dump":
send "%nl% &cWMCASINO%nl%&r↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣%nl%%nl% &f• &7WMCasino Version: &a%{WMCasino::Version}%%nl%%nl% &f• &7Skript Version: &a%skript version%%nl% &f• &7Server Version: &a%minecraft version%%nl% &f• &7Bukkit Version: &a%bukkit version%%nl%&r↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣↢↢↣↣%nl%"
else if arg-1 is "discord":
send "%nl%&9https://discord.gg/V2hkqd9YVm%nl%"
# Menu
function WMCasinoMM(p: player):
create a gui with virtual hopper inventory with size {WMCasino-Gui::MM::Height} named "%{WMCasino-Gui::MM::Name}%":
# Saving menu button data to the server
set {_SM} to "%{WMCasino-Gui-Button::MM::B::SM:Item}%" parsed as an item type
set name of {_SM} to {WMCasino-Gui-Button::MM::B::SM:Name}
set {_SM-Lore::*} to yaml list "WMCasino-Gui-Button.Main-Menu.Button.Slot-Machine.Lore" from "gui"
replace all "{SlotMachine-Price}" with "%{WMCasinoSettings::SM::Price}%" in {_SM-Lore::*}
loop {_SM-Lore::*}:
set {_SM-Lore::%loop-index%} to colored loop-value
set lore of {_SM} to {_SM-Lore::*}
replace all "{SlotMachine-Price}" with "%{WMCasinoSettings::SM::Price}%" in {WMCasino-Language::P::Confirm}
# Placing buttons in the menu
make gui slot {WMCasino-Gui-Button::MM::B::SM:Slot} with {_SM}:
if {_p}'s balance >= {WMCasinoSettings::SM::Price}:
remove {WMCasinoSettings::SM::Price} from {_p}'s balance
send action bar "%{WMCasino-Language::P::Confirm}%" to {_p}
WMCasinoGM(player)
else:
send "%nl%%{WMCasino-Language::P::Warn}%%nl%" to {_p}
open last gui to {_p}
function WMCasinoGM(p: player):
set {Items::1} to "%{WMCasino-Gui-Button::SMS::Item1::Item}%" parsed as an item type
set name of {Items::1} to {WMCasino-Gui-Button::SMS::Item1::Name}
set {Items::2} to "%{WMCasino-Gui-Button::SMS::Item2::Item}%" parsed as an item type
set name of {Items::2} to {WMCasino-Gui-Button::SMS::Item2::Name}
set {Items::3} to "%{WMCasino-Gui-Button::SMS::Item3::Item}%" parsed as an item type
set name of {Items::3} to {WMCasino-Gui-Button::SMS::Item3::Name}
delete {SMS::0::%{_p}%}
delete {SMS::1::%{_p}%}
delete {SMS::2::%{_p}%}
delete {SMS::3::%{_p}%}
delete {SMS::4::%{_p}%}
delete {SMS::5::%{_p}%}
delete {SMS::6::%{_p}%}
delete {SMS::7::%{_p}%}
delete {SMS::8::%{_p}%}
set {SMS::0::%{_p}%} to {Items::3} or {Items::2} or {Items::1}
WMCasinoGC({_p})
wait 0.2 seconds
set {SMS::1::%{_p}%} to {Items::3} or {Items::2} or {Items::1}
WMCasinoGC({_p})
wait 0.2 seconds
set {SMS::2::%{_p}%} to {Items::3} or {Items::2} or {Items::1}
WMCasinoGC({_p})
wait 0.2 seconds
set {SMS::3::%{_p}%} to {Items::3} or {Items::2} or {Items::1}
WMCasinoGC({_p})
wait 0.2 seconds
set {SMS::4::%{_p}%} to {Items::3} or {Items::2} or {Items::1}
WMCasinoGC({_p})
wait 0.2 seconds
set {SMS::5::%{_p}%} to {Items::3} or {Items::2} or {Items::1}
WMCasinoGC({_p})
wait 0.2 seconds
set {SMS::6::%{_p}%} to {Items::3} or {Items::2} or {Items::1}
WMCasinoGC({_p})
wait 0.2 seconds
set {SMS::7::%{_p}%} to {Items::3} or {Items::2} or {Items::1}
WMCasinoGC({_p})
wait 0.2 seconds
set {SMS::8::%{_p}%} to {Items::3} or {Items::2} or {Items::1}
WMCasinoGC({_p})
set {_s0::%{_p}%} to {SMS::0::%{_p}%}
set {_s1::%{_p}%} to {SMS::1::%{_p}%}
set {_s2::%{_p}%} to {SMS::2::%{_p}%}
set {_s3::%{_p}%} to {SMS::3::%{_p}%}
set {_s4::%{_p}%} to {SMS::4::%{_p}%}
set {_s5::%{_p}%} to {SMS::5::%{_p}%}
set {_s6::%{_p}%} to {SMS::6::%{_p}%}
set {_s7::%{_p}%} to {SMS::7::%{_p}%}
set {_s8::%{_p}%} to {SMS::8::%{_p}%}
if {_s0::%{_p}%} = {_s3::%{_p}%}:
if {_s3::%{_p}%} = {_s6::%{_p}%}:
set {_Win::1::%{_p}%} to true
set {_YW::%{_p}%} to true
if {_s1::%{_p}%} = {_s4::%{_p}%}:
if {_s4::%{_p}%} = {_s7::%{_p}%}:
set {_Win::2::%{_p}%} to true
set {_YW::%{_p}%} to true
if {_s2::%{_p}%} = {_s5::%{_p}%}:
if {_s5::%{_p}%} = {_s8::%{_p}%}:
set {_YW::%{_p}%} to true
set {_Win::3::%{_p}%} to true
if {_Win::1::%{_p}%} is true:
set {_Total::1::%{_p}%} to ({WMCasinoSettings::SM::Price} * {WMCasinoSettings::SM::I1::Multiplier})
if {_Win::2::%{_p}%} is true:
set {_Total::2::%{_p}%} to ({WMCasinoSettings::SM::Price} * {WMCasinoSettings::SM::I2::Multiplier})
if {_Win::3::%{_p}%} is true:
set {_Total::3::%{_p}%} to ({WMCasinoSettings::SM::Price} * {WMCasinoSettings::SM::I3::Multiplier})
if {_YW::%{_p}%} is true:
set {_TotalMoney::%{_p}%} to ({_Total::1::%{_p}%} + {_Total::2::%{_p}%} + {_Total::3::%{_p}%})
add {_TotalMoney::%{_p}%} to balance of {_p}
replace all "{Profit}" with "%{_TotalMoney::%{_p}%}%" in {WMCasino-Language::Win}
send "%nl%%{WMCasino-Language::Win}%%nl%" to {_p}
else:
send "%nl%%{WMCasino-Language::Lose}%%nl%" to {_p}
function WMCasinoGC(p: player):
create a gui with virtual dropper inventory with size {WMCasino-Gui::SM::Height} named "%{WMCasino-Gui::SM::Name}%":
make gui slot 0 with {SMS::0::%{_p}%} named "&r"
make gui slot 3 with {SMS::1::%{_p}%} named "&r"
make gui slot 6 with {SMS::2::%{_p}%} named "&r"
make gui slot 1 with {SMS::3::%{_p}%} named "&r"
make gui slot 4 with {SMS::4::%{_p}%} named "&r"
make gui slot 7 with {SMS::5::%{_p}%} named "&r"
make gui slot 2 with {SMS::6::%{_p}%} named "&r"
make gui slot 5 with {SMS::7::%{_p}%} named "&r"
make gui slot 8 with {SMS::8::%{_p}%} named "&r"
open last gui to {_p}
Addonlar
Vault ( Ekonomi Eklentisi )
Skript
Skript-Yaml
Skript-Gui
İyi forumlar dilerim.
Skript
Skript-Yaml
Skript-Gui
İyi forumlar dilerim.