汉化保留代码
Config = {}
Config.Debug = false
Config.Locale = 'en' -- the language you want the script in
Config.notification = 1 -- the notification type / 1 - ESX Notification, 2 - Export Notification - Standard okokNotify
Config.useHistory = true -- if you wanna use this insert the new jail_history.sql // enables jail history
Config.F6JailPlayer = true -- if true you can jail players with the F6 Police menu
Config.USClock = false -- this changes the clock style between 12h day and 24h day
-- SOON
-- Config.InventoryWipe = true -- whe true the players inventory will be cleared
-- Config.WeaponWipe = true -- when true the players weapon will be cleared
Config.teleportJail = true -- when true the player gets teleported in jail
Config.teleportBack = true -- teleports the player back when he tries to escape
Config.teleportBackDist = 500 -- the radius when player gets teleported back
Config.JailCoords = vec4(1765.7, 2565.8, 45.5, 175.0) -- Coords x, y, z and heading for the Jail Coords
Config.unjailCoords = vec4(1846.0, 2586.0, 45.6, 270.0) -- Coords x, y, z and heading for the Release Coords
Config.minJailTime = 10 -- the mininum Jailtime which has to be applied
Config.maxJailTime = 120 -- the maxinum Jailtime which can be applied
Config.AllowCommands = true -- not recommended when you want to jail people only at the jail
Config.AllowedJobs = {
'police', 'sheriff', -- the Jobs which can jail people
}
Config.UsePrisonerClothing = true -- When true the clothing changes when jailing somebody
Config.PrisonerClothing = {
['male'] = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 56, ['torso_2'] = 0,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 0, ['arms_2'] = 0,
['pants_1'] = 105, ['pants_2'] = 3,
['shoes_1'] = 25, ['shoes_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 0, ['mask_2'] = 0,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
},
['female'] = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 118, ['torso_2'] = 2,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 4, ['arms_2'] = 0,
['pants_1'] = 135, ['pants_2'] = 1,
['shoes_1'] = 25, ['shoes_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 0, ['mask_2'] = 0,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
}
}
Config.PedLocations = {
{
pedAction = 'checkJailTime', -- available : 'checkJailTime', 'jailPlayer'
pedModel = 1456041926,
pedlocation = vec3(1775.2, 2552.0, 45.5),
pedHeading = 90.0,
},
{
pedAction = 'jailPlayer', -- available : 'checkJailTime', 'jailPlayer'
pedModel = 1456041926,
pedlocation = vec3(1691.5, 2613.6, 45.6),
pedHeading = 180.0,
},
}
以下是您提供的代码的汉化版本,保留了原始代码结构和注释:
Config = {}
Config.Debug = false
Config.Locale = 'zh' -- 您希望脚本使用的语言
Config.notification = 1 -- 通知类型 / 1 - ESX 通知, 2 - 导出通知 - 标准 okokNotify
Config.useHistory = true -- 如果您想使用此功能,请插入新的 jail_history.sql // 启用监狱历史
Config.F6JailPlayer = true -- 如果为真,您可以通过 F6 警察菜单监禁玩家
Config.USClock = false -- 这会在 12 小时制和 24 小时制之间更改时钟样式
-- 即将推出
-- Config.InventoryWipe = true -- 如果为真,玩家的库存将被清空
-- Config.WeaponWipe = true -- 如果为真,玩家的武器将被清空
Config.teleportJail = true -- 如果为真,玩家将被传送到监狱
Config.teleportBack = true -- 当玩家试图逃跑时将其传送回去
Config.teleportBackDist = 500 -- 玩家被传送回的半径
Config.JailCoords = vec4(1765.7, 2565.8, 45.5, 175.0) -- 监狱坐标 x, y, z 和朝向
Config.unjailCoords = vec4(1846.0, 2586.0, 45.6, 270.0) -- 释放坐标 x, y, z 和朝向
Config.minJailTime = 10 -- 必须施加的最小监禁时间
Config.maxJailTime = 120 -- 可以施加的最大监禁时间
Config.AllowCommands = true -- 如果您只想在监狱中监禁人,不推荐使用
Config.AllowedJobs = {
'police', 'sheriff', -- 可以监禁人的工作
}
Config.UsePrisonerClothing = true -- 当为真时,监禁某人时衣物会更改
Config.PrisonerClothing = {
['male'] = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 56, ['torso_2'] = 0,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 0, ['arms_2'] = 0,
['pants_1'] = 105, ['pants_2'] = 3,
['shoes_1'] = 25, ['shoes_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 0, ['mask_2'] = 0,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
},
['female'] = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 118, ['torso_2'] = 2,
['decals_1'] = 0, ['decals_2'] = 0,
['arms'] = 4, ['arms_2'] = 0,
['pants_1'] = 135, ['pants_2'] = 1,
['shoes_1'] = 25, ['shoes_2'] = 0,
['helmet_1'] = -1, ['helmet_2'] = 0,
['mask_1'] = 0, ['mask_2'] = 0,
['chain_1'] = 0, ['chain_2'] = 0,
['ears_1'] = 0, ['ears_2'] = 0,
['bags_1'] = 0, ['bags_2'] = 0,
['hair_1'] = 0, ['hair_2'] = 0,
['bproof_1'] = 0, ['bproof_2'] = 0
}
}
Config.PedLocations = {
{
pedAction = 'checkJailTime', -- 可用 : 'checkJailTime', 'jailPlayer'
pedModel = 1456041926,
pedlocation = vec3(1775.2, 2552.0, 45.5),
pedHeading = 90.0,
},
{
pedAction = 'jailPlayer', -- 可用 : 'checkJailTime', 'jailPlayer'
pedModel = 1456041926,
pedlocation = vec3(1691.5, 2613.6, 45.6),
pedHeading = 180.0,
},
}
如果您有其他问题或需要进一步的帮助,请告诉我!
页:
[1]