汉化全部 保留原代码
Config = {}
Config.Debug = true
Config.Language = "en" -- Language to use.
Config.RenderDistance = 100.0 -- Scenario display Radius.
Config.InteractDistance = 2.0 -- Interact Radius
Config.UseTarget = true -- When set to true, it'll use targeting instead of key-presses to interact.
Config.NoModelTargeting = true -- When set to true and using Target, it'll spawn a small invisible prop so you can third-eye when no entity is defined.
Config.Marker = { -- This will only be used if enabled, not using target, and no model is defined in the interaction.
enabled = true,
id = 2,
scale = 0.25,
color = {255, 255, 255, 127}
}
Config.DefaultStore = {
label = "Lottery Store",
accounts = { -- Percent of purchases 0-100 to each society's account, note that there is no automatic adjustment, so anything that is over 100% will still be that percentage.
["police"] = 50, -- 50% cut of purchases.
["ambulance"] = 50, -- 50% cut of purchases.
},
items = {
{
label = "Keno Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_keno",
price = 0 -- This is the price to get a keno slip, should always be free as they only pay when inserting.
},
{
label = "Moneyball Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_moneyball",
price = 0 -- This is the price to get a moneyball slip, should always be free as they only pay when inserting.
},
{
label = "Pickle's Scratch-off",
item = "lottery_pickle",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 2
},
{
label = "Wild Cherry Scratch-off",
item = "lottery_wildcherry",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 5
},
{
label = "Lucky 7's Scratch-off",
item = "lottery_luckyseven",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 10
},
}
}
Config.Locations = {
{
coords = vector3(34.1786, -1343.2672, 29.4970), -- Strawberry 24/7
heading = -90.3685,
blip = { label = "Lottery", id = 500, display = 4, scale = 0.5, color = 2 },
model = {modelType = "prop", hash = `prop_park_ticket_01`},
store = {
label = "Lottery Store",
accounts = { -- Percent of purchases 0-100 to each society's account, note that there is no automatic adjustment, so anything that is over 100% will still be that percentage.
["police"] = 50, -- 50% cut of purchases.
["ambulance"] = 50, -- 50% cut of purchases.
},
items = {
{
label = "Keno Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_keno",
price = 0 -- This is the price to get a keno slip, should always be free as they only pay when inserting.
},
{
label = "Moneyball Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_moneyball",
price = 0 -- This is the price to get a moneyball slip, should always be free as they only pay when inserting.
},
{
label = "Pickle's Scratch-off",
item = "lottery_pickle",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 2
},
{
label = "Wild Cherry Scratch-off",
item = "lottery_wildcherry",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 5
},
{
label = "Lucky 7's Scratch-off",
item = "lottery_luckyseven",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 10
},
}
}
},
{
coords = vector3(920.2538, 40.0376, 81.0959), -- Casino
heading = 237.4434,
blip = { label = "Lottery", id = 500, display = 4, scale = 0.5, color = 2 },
model = {modelType = "prop", hash = `prop_park_ticket_01`},
store = {
label = "Lottery Store",
accounts = { -- Percent of purchases 0-100 to each society's account, note that there is no automatic adjustment, so anything that is over 100% will still be that percentage.
["police"] = 50, -- 50% cut of purchases.
["ambulance"] = 50, -- 50% cut of purchases.
},
items = {
{
label = "Keno Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_keno",
price = 0 -- This is the price to get a keno slip, should always be free as they only pay when inserting.
},
{
label = "Moneyball Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_moneyball",
price = 0 -- This is the price to get a moneyball slip, should always be free as they only pay when inserting.
},
{
label = "Pickle's Scratch-off",
item = "lottery_pickle",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 2
},
{
label = "Wild Cherry Scratch-off",
item = "lottery_wildcherry",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 5
},
{
label = "Lucky 7's Scratch-off",
item = "lottery_luckyseven",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 10
},
}
}
},
{
coords = vector3(-49.2994, -1760.2704, 29.4396), -- LTD Gas Station Grove
heading = 318.6361,
blip = { label = "Lottery", id = 500, display = 4, scale = 0.5, color = 2 },
model = {modelType = "prop", hash = `prop_park_ticket_01`},
store = {
label = "Lottery Store",
accounts = { -- Percent of purchases 0-100 to each society's account, note that there is no automatic adjustment, so anything that is over 100% will still be that percentage.
["police"] = 50, -- 50% cut of purchases.
["ambulance"] = 50, -- 50% cut of purchases.
},
items = {
{
label = "Keno Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_keno",
price = 0 -- This is the price to get a keno slip, should always be free as they only pay when inserting.
},
{
label = "Moneyball Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_moneyball",
price = 0 -- This is the price to get a moneyball slip, should always be free as they only pay when inserting.
},
{
label = "Pickle's Scratch-off",
item = "lottery_pickle",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 2
},
{
label = "Wild Cherry Scratch-off",
item = "lottery_wildcherry",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 5
},
{
label = "Lucky 7's Scratch-off",
item = "lottery_luckyseven",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 10
},
}
}
},
{
coords = vector3(-707.8763, -917.1802, 19.2143), -- LTD Gas Station Little Seoul
heading = 358.3544,
blip = { label = "Lottery", id = 500, display = 4, scale = 0.5, color = 2 },
model = {modelType = "prop", hash = `prop_park_ticket_01`},
store = {
label = "Lottery Store",
accounts = { -- Percent of purchases 0-100 to each society's account, note that there is no automatic adjustment, so anything that is over 100% will still be that percentage.
["police"] = 50, -- 50% cut of purchases.
["ambulance"] = 50, -- 50% cut of purchases.
},
items = {
{
label = "Keno Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_keno",
price = 0 -- This is the price to get a keno slip, should always be free as they only pay when inserting.
},
{
label = "Moneyball Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_moneyball",
price = 0 -- This is the price to get a moneyball slip, should always be free as they only pay when inserting.
},
{
label = "Pickle's Scratch-off",
item = "lottery_pickle",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 2
},
{
label = "Wild Cherry Scratch-off",
item = "lottery_wildcherry",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 5
},
{
label = "Lucky 7's Scratch-off",
item = "lottery_luckyseven",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 10
},
}
}
},
{
coords = vector3(1163.5985, -326.5771, 69.2379), -- LTD Gas Station Mirror Park
heading = 10.6814,
blip = { label = "Lottery", id = 500, display = 4, scale = 0.5, color = 2 },
model = {modelType = "prop", hash = `prop_park_ticket_01`},
store = {
label = "Lottery Store",
accounts = { -- Percent of purchases 0-100 to each society's account, note that there is no automatic adjustment, so anything that is over 100% will still be that percentage.
["police"] = 50, -- 50% cut of purchases.
["ambulance"] = 50, -- 50% cut of purchases.
},
items = {
{
label = "Keno Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_keno",
price = 0 -- This is the price to get a keno slip, should always be free as they only pay when inserting.
},
{
label = "Moneyball Ticket",
description = "Fill out the options, save the ticket, then insert it.",
item = "lottery_moneyball",
price = 0 -- This is the price to get a moneyball slip, should always be free as they only pay when inserting.
},
{
label = "Pickle's Scratch-off",
item = "lottery_pickle",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 2
},
{
label = "Wild Cherry Scratch-off",
item = "lottery_wildcherry",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 5
},
{
label = "Lucky 7's Scratch-off",
item = "lottery_luckyseven",
description = "Scratch-off the ticket and redeem it for your prize!",
price = 10
},
}
}
},
}
Config.Lottery = {
redeemExpiration = 7, -- How many days a ticket can be unclaimed before deletion.
dateFormat = "%m/%d/%Y %I:%M %p", -- Check https://www.lua.org/pil/22.1.html for more information.
canSocietyLose = false, -- Remove money from society when a player wins.
}
Config.Items = {
-- You may modify and add to these.
["lottery_pickle"] = {
game = "scratch",
image = "pickle.png",
numbers = {
rows = 3, -- Amount of rows.
eachRow = 3, -- Amount of numbers to place on each row. (rows multiplied by count is the amount of numbers)
range = {1, 45} -- Range of numbers randomized for each number. The max range must be larger than the total numbers.
},
prizes = {2, 4,8, 16, 32, 1000000}, -- Index = Numbers Matched (1 Number = $2, 6 Numbers = $1 Million)
},
["lottery_wildcherry"] = {
game = "scratch",
image = "wildcherry.png",
numbers = {
rows = 4, -- Amount of rows.
eachRow = 6, -- Amount of numbers to place on each row. (rows multiplied by count is the amount of numbers)
range = {1, 65} -- Range of numbers randomized for each number. The max range must be larger than the total numbers.
},
prizes = {3, 6, 12, 24, 48, 2000000}, -- Index = Numbers Matched (1 Number = $2, 6 Numbers = $1 Million)
},
["lottery_luckyseven"] = {
game = "scratch",
image = "luckyseven.png",
numbers = {
rows = 4, -- Amount of rows.
eachRow = 6, -- Amount of numbers to place on each row. (rows multiplied by count is the amount of numbers)
range = {1, 80} -- Range of numbers randomized for each number. The max range must be larger than the total numbers.
},
prizes = {4, 8, 16, 32, 64, 4000000}, -- Index = Numbers Matched (1 Number = $2, 6 Numbers = $1 Million)
},
-- Do not remove or modify these three unless you're an expert, you do this at your own risk.
["lottery_keno"] = {
game = "keno"
},
["lottery_moneyball"] = {
game = "moneyball"
},
["lottery_receipt"] = {
game = "receipt"
}
}
Config.Games = { -- Do not remove any of these, these are not optional. To disable the game, just remove it from the stores.
["keno"] = {
prizes = { -- 0-12 Spot Match, follow the below template for prizes.
{0, 3},
{0, 1, 5},
{0, 0, 3, 25},
{0, 0, 1, 4, 100},
{0, 0, 0, 2, 20, 450},
{0, 0, 0, 1, 7, 50, 1600},
{0, 0, 0, 1, 3, 20, 100, 5000},
{0, 0, 0, 0, 2, 10, 50, 1000, 15000},
{0, 0, 0, 0, 1, 5, 25, 200, 4000, 40000},
{2, 0, 0, 0, 0, 2, 20, 80, 500, 10000, 100000},
{2, 0, 0, 0, 0, 1, 10, 50, 250, 1500, 15000, 500000},
{4, 0, 0, 0, 0, 0, 5, 25, 150, 1000, 2500, 25000, 1000000},
},
drawCount = 20, -- 20 Balls are drawn
ballCount = 80, -- 1-80 are selectable numbers.
wagers = {1, 5, 10, 20, 30}, -- Wager selection for each game.
games = {1, 5, 10, 20, 30}, -- Game selection for how many games to play.
drawingFrequency = "*/1 * * * * *", -- How often to draw a new game (Default: Every 5 Minutes, generate a frequency here: https://www.freeformatter.com/cron-expression-generator-quartz.html)
},
["moneyball"] = {
prizes = {10, 50, 100, 20000, 100000, 1000000}, -- Prizes Template (1 - 5 + moneyball)
panelCount = 4, -- Max amount of panels you can play.
ballCount = 70, -- Max Number for ball selection.
moneyballCount = 21, -- Max Number for Moneyball selection.
price = 1, -- Price for each panel played.
games = {1, 5, 10, 20, 30}, -- Game selection for how many games to play.
drawingFrequency = "*/1 * * * * *", -- How often to draw a new game (Default: Every 5 Minutes, generate a frequency here: https://www.freeformatter.com/cron-expression-generator-quartz.html)
},
}
Config = {}
Config.Debug = true -- 调试模式
Config.Language = "zh" -- 使用的语言
Config.RenderDistance = 100.0 -- 场景显示半径
Config.InteractDistance = 2.0 -- 交互半径
Config.UseTarget = true -- 当设置为true时,将使用目标而不是按键进行交互
Config.NoModelTargeting = true -- 当设置为true并且使用目标时,如果没有定义实体,将生成一个小的不可见道具以便进行第三只眼操作
Config.Marker = { -- 仅当启用时使用,如果不使用目标,并且交互中没有定义模型
enabled = true,
id = 2,
scale = 0.25,
color = {255, 255, 255, 127}
}
Config.DefaultStore = {
label = "彩票商店", -- 购买彩票的商店名称
accounts = { -- 每个社团账户的购买百分比0-100,注意没有自动调整,因此超过100%的仍然是该百分比
["police"] = 50, -- 警察获得50%购买额
["ambulance"] = 50, -- 救护车获得50%购买额
},
items = {
{
label = "肯诺票", -- 购买彩票物品名称
description = "填写选项,保存票据,然后插入。",
item = "lottery_keno", -- 物品ID
price = 0 -- 肯诺票的价格,应该始终免费,因为他们仅在插入时付款
},
{
label = "钱球票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_moneyball",
price = 0 -- 钱球票的价格,应该始终免费,因为他们仅在插入时付款
},
{
label = "酸黄瓜刮刮乐",
item = "lottery_pickle",
description = "刮开票据并赢取奖品!",
price = 2
},
{
label = "野樱桃刮刮乐",
item = "lottery_wildcherry",
description = "刮开票据并赢取奖品!",
price = 5
},
{
label = "幸运7刮刮乐",
item = "lottery_luckyseven",
description = "刮开票据并赢取奖品!",
price = 10
},
}
}
Config.Locations = {
{
coords = vector3(34.1786, -1343.2672, 29.4970), -- 草莓 24/7
heading = -90.3685,
blip = { label = "彩票", id = 500, display = 4, scale = 0.5, color = 2 },
model = {modelType = "prop", hash = `prop_park_ticket_01`},
store = {
label = "彩票商店",
accounts = {
["police"] = 50,
["ambulance"] = 50,
},
items = {
{
label = "肯诺票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_keno",
price = 0
},
{
label = "钱球票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_moneyball",
price = 0
},
{
label = "酸黄瓜刮刮乐",
item = "lottery_pickle",
description = "刮开票据并赢取奖品!",
price = 2
},
{
label = "野樱桃刮刮乐",
item = "lottery_wildcherry",
description = "刮开票据并赢取奖品!",
price = 5
},
{
label = "幸运7刮刮乐",
item = "lottery_luckyseven",
description = "刮开票据并赢取奖品!",
price = 10
},
}
}
},
{
coords = vector3(920.2538, 40.0376, 81.0959), -- 赌场
heading = 237.4434,
blip = { label = "彩票", id = 500, display = 4, scale = 0.5, color = 2 },
model = {modelType = "prop", hash = `prop_park_ticket_01`},
store = {
label = "彩票商店",
accounts = {
["police"] = 50,
["ambulance"] = 50,
},
items = {
{
label = "肯诺票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_keno",
price = 0
},
{
label = "钱球票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_moneyball",
price = 0
},
{
label = "酸黄瓜刮刮乐",
item = "lottery_pickle",
description = "刮开票据并赢取奖品!",
price = 2
},
{
label = "野樱桃刮刮乐",
item = "lottery_wildcherry",
description = "刮开票据并赢取奖品!",
price = 5
},
{
label = "幸运7刮刮乐",
item = "lottery_luckyseven",
description = "刮开票据并赢取奖品!",
price = 10
},
}
}
},
{
coords = vector3(-49.2994, -1760.2704, 29.4396), -- LTD 加油站 盖罗
heading = 318.6361,
blip = { label = "彩票", id = 500, display = 4, scale = 0.5, color = 2 },
model = {modelType = "prop", hash = `prop_park_ticket_01`},
store = {
label = "彩票商店",
accounts = {
["police"] = 50,
["ambulance"] = 50,
},
items = {
{
label = "肯诺票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_keno",
price = 0
},
{
label = "钱球票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_moneyball",
price = 0
},
{
label = "酸黄瓜刮刮乐",
item = "lottery_pickle",
description = "刮开票据并赢取奖品!",
price = 2
},
{
label = "野樱桃刮刮乐",
item = "lottery_wildcherry",
description = "刮开票据并赢取奖品!",
price = 5
},
{
label = "幸运7刮刮乐",
item = "lottery_luckyseven",
description = "刮开票据并赢取奖品!",
price = 10
},
}
}
},
{
coords = vector3(-707.8763, -917.1802, 19.2143), -- LTD 加油站 小首尔
heading = 358.3544,
blip = { label = "彩票", id = 500, display = 4, scale = 0.5, color = 2 },
model = {modelType = "prop", hash = `prop_park_ticket_01`},
store = {
label = "彩票商店",
accounts = {
["police"] = 50,
["ambulance"] = 50,
},
items = {
{
label = "肯诺票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_keno",
price = 0
},
{
label = "钱球票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_moneyball",
price = 0
},
{
label = "酸黄瓜刮刮乐",
item = "lottery_pickle",
description = "刮开票据并赢取奖品!",
price = 2
},
{
label = "野樱桃刮刮乐",
item = "lottery_wildcherry",
description = "刮开票据并赢取奖品!",
price = 5
},
{
label = "幸运7刮刮乐",
item = "lottery_luckyseven",
description = "刮开票据并赢取奖品!",
price = 10
},
}
}
},
{
coords = vector3(1163.5985, -326.5771, 69.2379), -- LTD 加油站 镜子公园
heading = 10.6814,
blip = { label = "彩票", id = 500, display = 4, scale = 0.5, color = 2 },
model = {modelType = "prop", hash = `prop_park_ticket_01`},
store = {
label = "彩票商店",
accounts = {
["police"] = 50,
["ambulance"] = 50,
},
items = {
{
label = "肯诺票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_keno",
price = 0
},
{
label = "钱球票",
description = "填写选项,保存票据,然后插入。",
item = "lottery_moneyball",
price = 0
},
{
label = "酸黄瓜刮刮乐",
item = "lottery_pickle",
description = "刮开票据并赢取奖品!",
price = 2
},
{
label = "野樱桃刮刮乐",
item = "lottery_wildcherry",
description = "刮开票据并赢取奖品!",
price = 5
},
{
label = "幸运7刮刮乐",
item = "lottery_luckyseven",
description = "刮开票据并赢取奖品!",
price = 10
},
}
}
},
}
Config.Lottery = {
redeemExpiration = 7, -- 票据可以在删除前未兑现的天数
dateFormat = "%m/%d/%Y %I:%M %p", -- 请查看https://www.lua.org/pil/22.1.html以获取更多信息
canSocietyLose = false, -- 玩家获胜时是否从社团中扣除资金
}
Config.Items = {
-- 你可以修改并添加这些。
["lottery_pickle"] = {
game = "scratch", -- 游戏类型
image = "pickle.png", -- 游戏图片
numbers = {
rows = 3, -- 行数
eachRow = 3, -- 每行放置的数字数量(行数乘以数量即为总数)
range = {1, 45} -- 每个随机数的范围。最大范围必须大于总数字
},
prizes = {2, 4,8, 16, 32, 1000000}, -- 索引 = 匹配的数字(1个数字 = $2, 6个数字 = $1百万)
},
["lottery_wildcherry"] = {
game = "scratch",
image = "wildcherry.png",
numbers = {
rows = 4, -- 行数
eachRow = 6, -- 每行放置的数字数量
range = {1, 65} -- 每个随机数的范围
},
prizes = {3, 6, 12, 24, 48, 2000000}, -- 索引 = 匹配的数字
},
["lottery_luckyseven"] = {
game = "scratch",
image = "luckyseven.png",
numbers = {
rows = 4,
eachRow = 6,
range = {1, 80}
},
prizes = {4, 8, 16, 32, 64, 4000000}, -- 索引 = 匹配的数字
},
-- 除非你是专家,否则请勿删除或修改这三项,风险自负。
["lottery_keno"] = {
game = "keno"
},
["lottery_moneyball"] = {
game = "moneyball"
},
["lottery_receipt"] = {
game = "receipt"
}
}
Config.Games = { -- 请勿删除任何这些,这些不是可选的。如要禁用游戏,只需将其从商店中移除
["keno"] = {
prizes = {
{0, 3},
{0, 1, 5},
{0, 0, 3, 25},
{0, 0, 1, 4, 100},
{0, 0, 0, 2, 20, 450},
{0, 0, 0, 1, 7, 50, 1600},
{0, 0, 0, 1, 3, 20, 100, 5000},
{0, 0, 0, 0, 2, 10, 50, 1000, 15000},
{0, 0, 0, 0, 1, 5, 25, 200, 4000, 40000},
{2, 0, 0, 0, 0, 2, 20, 80, 500, 10000, 100000},
{2, 0, 0, 0, 0, 1, 10, 50, 250, 1500, 15000, 500000},
{4, 0, 0, 0, 0, 0, 5, 25, 150, 1000, 2500, 25000, 1000000},
},
drawCount = 20, -- 抽取20个球
ballCount = 80, -- 可选择的数字范围1-80
wagers = {1, 5, 10, 20, 30}, -- 每个游戏的投注选择
games = {1, 5, 10, 20, 30}, -- 选择要玩的游戏数量
drawingFrequency = "*/1 * * * * *", -- 抽取新游戏的频率(默认:每5分钟抽取一次,生成频率请访问:https://www.freeformatter.com/cron-expression-generator-quartz.html)
},
["moneyball"] = {
prizes = {10, 50, 100, 20000, 100000, 1000000}, -- 奖金模板
panelCount = 4, -- 最大可玩的面板数量
ballCount = 70, -- 球选择的最大数量
moneyballCount = 21, -- 钱球选择的最大数量
price = 1, -- 每个面板玩的价格
games = {1, 5, 10, 20, 30}, -- 选择要玩的游戏数量
drawingFrequency = "*/1 * * * * *", -- 抽取新游戏的频率
},
}
页:
[1]