汉化
Config = {
Locale = 'en', -- Available en, de, fr, es, it
Commands = {
Skin = 'skin',
ReloadSkin = 'reloadskin',
ClearPed = 'clearped',
},
EveryShopHasEverything = false, -- by default, clothing is categorized into shops (binco, suburban etc.), if you want to have everything available in every shop, set this to true (but it kinda ruins the immersion ;)
CharCreatorHasEverything = false, -- by default, char creator has only selected clothing for new players, if you want to have everything available, set this to true
SaveHeadWithOutfit = false, -- if true, head settings (makeup, hair etc.) will be saved with outfits
EnableReloadSkin = true,
EnableClearPed = true,
CharCreatorApplyRandom = true, -- If true, new players will have slightly randomized appearance when first joining
-- When opening character creator, this will make it wait for collisions to be loaded before opening it
CharCreatorWaitForCollisions = false,
IdModeHasEverything = true, -- if true, all items will be available in ID mode
-- When this is TRUE, the player will be able to select
-- clothes that they have purchased, in job changing rooms (after going off duty)
-- When this is FALSE, you can manage stock inside job changing rooms
JobChangingRoomActsAsPersonalChangingRoom = true,
-- If you are using addon heads, uncomment this
-- AddonHeadsCount = 45,
-- If you want to restrict clothing to certain ace permissions,
-- you have ot define them here first
ClothingAceRestrictionOptions = {
'group.vip',
},
-- Marker style
Checkpoint = {
scale = vector3(1.0, 1.0, 1.0),
type = 25,
color = { 255, 0, 0, 200 },
},
JobChangingRooms = {
{
label = 'Changing Room',
type = 'job_police',
-- blip = { title = "Second Hand", colour = 39, id = 73 },
pos = vector4(455.29, -991.16, 29.72, 90.0),
jobs = { 'police' },
},
},
以下是您提供的配置代码的汉化版本:
Config = {
Locale = 'zh', -- 可用语言:en(英语),de(德语),fr(法语),es(西班牙语),it(意大利语)
Commands = {
Skin = '换装', -- 皮肤命令
ReloadSkin = '重载皮肤', -- 重载皮肤命令
ClearPed = '清除角色', -- 清除角色命令
},
EveryShopHasEverything = false, -- 默认情况下,服装按商店分类(如 binco, suburban 等),如果希望每个商店都有所有物品,请将此设置为 true(但这会破坏沉浸感;)
CharCreatorHasEverything = false, -- 默认情况下,角色创建器仅为新玩家提供选定的服装,如果希望有所有服装可用,请将此设置为 true
SaveHeadWithOutfit = false, -- 如果为 true,头部设置(化妆、发型等)将与服装一起保存
EnableReloadSkin = true, -- 启用重载皮肤功能
EnableClearPed = true, -- 启用清除角色功能
CharCreatorApplyRandom = true, -- 如果为 true,新玩家在首次加入时将略微随机化外观
-- 打开角色创建器时,这将使其在加载碰撞体后再打开
CharCreatorWaitForCollisions = false,
IdModeHasEverything = true, -- 如果为 true,ID 模式下将提供所有物品
-- 当此项为 TRUE 时,玩家将能够选择他们已购买的衣物,在岗位更换房间中(下班后)
-- 当此项为 FALSE 时,您可以在岗位更换房间中管理库存
JobChangingRoomActsAsPersonalChangingRoom = true,
-- 如果您使用的是附加头部,取消注释此行
-- AddonHeadsCount = 45,
-- 如果您想将服装限制在某些 ace 权限中,
-- 您必须先在此处定义它们
ClothingAceRestrictionOptions = {
'group.vip', -- VIP组权限
},
-- 标记样式
Checkpoint = {
scale = vector3(1.0, 1.0, 1.0), -- 标记缩放
type = 25, -- 标记类型
color = { 255, 0, 0, 200 }, -- 标记颜色
},
JobChangingRooms = {
{
label = '更衣室', -- 更衣室标签
type = 'job_police', -- 类型为警察
-- blip = { title = "二手", colour = 39, id = 73 }, -- 可选的地图标记
pos = vector4(455.29, -991.16, 29.72, 90.0), -- 更衣室位置
jobs = { 'police' }, -- 可用职业
},
},
}
这个配置文件可以被放置在 `server.lua` 或 `client.lua` 中,具体取决于您在游戏中对这些配置的用途。如果用于服务器端管理,则放在 `server.lua` 中;如果用于客户端显示或交互,则放在 `client.lua` 中。
页:
[1]