杰瑞米瓦德 发表于 2024-9-24 02:33:52

翻译 保留源代码


Config = {
    -- Change the language of the menu here!.
    -- Thank you to those who provided translations.
    -- If you would like to provide translations or help fix them, join our Discord!
    -- Check languages code below to change the MenuLanguage
    MenuLanguage = 'zhcn',
    -- Set this to true to enable some extra prints
    DebugDisplay = false,
    -- Set this to false if you have something else on X, and then just use /e c to cancel emotes.
    EnableXtoCancel = false,
    CancelEmoteKey = 'x', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- Set this to true if you want to disarm the player when they play an emote.
    DisarmPlayer = false,
    -- Set this if you really wanna disable emotes in cars, as of 1.7.2 they only play the upper body part if in vehicle
    AllowedInCars = true,
    -- You can disable the menu here / change the keybind. It is currently set to F5
    MenuKeybindEnabled = true,
    MenuKeybind = 'f4', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- You can disable the Favorite emote keybinding here.
    FavKeybindEnabled = true,
    FavKeybind = 'capital', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- You can change the header image for the menu here
    -- Use a 512 x 128 image!
    -- Note this might cause an issue of the image getting stuck on peoples screens
    CustomMenuEnabled = true,
    MenuImage = "https://i.giphy.com/media/zpKIWAzNO9IhYwEGkN/giphy.gif", -------
    -- You can change the menu image by pasting a link above. It must be the same width and length
    -- You can change the name of the menu here or leave it blank to remove the text in front of the custom banners
    MenuTitle = "",
    -- You can change the menu position here
    MenuPosition = "right", -- (left, right)
    -- You can enable or disable the Ragdoll keybinding here.
    RagdollEnabled = false,
    RagdollKeybind = 'u', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- You can enable or disable Ragdoll as Toggle here. Only works if RagdollEnabled is set to true.
    RagdollAsToggle = true,
    -- You can disable the Facial Expressions menu here.
    ExpressionsEnabled = true,
    -- Saves expression style to client and applies them on joining
    PersistentExpression = true,
    -- You can disable the Walking Styles menu here.
    WalkingStylesEnabled = true,
    -- Saves walk styles to client and applies them periodically
    PersistentWalk = true,
    -- Polling period to apply persistent walkstyles
    PersistencePollPeriod = 60000,
    -- You can disable the Shared Emotes here.
    SharedEmotesEnabled = true,
    -- If you have the SQL imported enable this to turn on keybinding.
    SqlKeybinding = false,
    -- If you don't like gta notifications, you can disable them here to have messages in the chat.
    NotificationsAsChatMessage = false,
    -- Used for few framework dependent things. Accepted values: "qb-core", false
    Framework = false,
    -- You can disable the Adult Emotes here.
    AdultEmotesDisabled = false,
    -- You can disable the Animal Emotes here.
    AnimalEmotesEnabled = true,
    -- Used to enable or disable the search feature in the menu.
    Search = true,
    -- You can disable the handsup here / change the keybind. It is currently set to H
    HandsupKeybindEnabled = true,
    HandsupKeybind = 'h', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- You can disable the fingrer pointing here / change the keybind. It is currently set to B
    PointingEnabled = false,
    PointingKeybindEnabled = false,
    PointingKeybind = 'b', -- Get the button string here https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- If crouching should be enabled.
    CrouchEnabled = true,
    CrouchKeybindEnabled = true, -- If true, crouching will use keybinds.
    CrouchKeybind = 'lcontrol', -- The default crouch keybind, get the button string here: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    CrouchOverride = false, -- If true, you won't enter stealth mode even if the crouch key and the "duck" key are the same.
    -- If crawling should be enabled.
    CrawlEnabled = true,
    CrawlKeybindEnabled = true, -- If true, crawling will use keybinds.
    CrawlKeybind = 'rcontrol', -- The default crawl keybind, get the button string here: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- Check for updates
    CheckForUpdates = true,
}

Config.KeybindKeys = {
    ['num4'] = 108,
    ['num5'] = 110,
    ['num6'] = 109,
    ['num7'] = 117,
    ['num8'] = 111,
    ['num9'] = 118
}



ChatGPT 发表于 2024-9-24 02:40:03

Config = {
    -- 在这里更改菜单的语言!.
    -- 感谢提供翻译的人。
    -- 如果您想提供翻译或帮助修复它们,请加入我们的 Discord!
    -- 请查看下面的语言代码以更改 MenuLanguage
    MenuLanguage = 'zhcn',
    -- 将此设置为 true 以启用一些额外的打印
    DebugDisplay = false,
    -- 如果您在 X 上有其他内容,请将此设置为 false,然后只需使用 /e c 来取消表情。
    EnableXtoCancel = false,
    CancelEmoteKey = 'x', -- 在这里获取按钮字符串 https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- 如果您希望在播放表情时解除玩家武装,请将此设置为 true。
    DisarmPlayer = false,
    -- 如果您真的想在汽车中禁用表情,请设置此项,从 1.7.2 开始,如果在车辆中只播放上半身部分
    AllowedInCars = true,
    -- 您可以在这里禁用菜单 / 更改快捷键。当前设置为 F5
    MenuKeybindEnabled = true,
    MenuKeybind = 'f4', -- 在这里获取按钮字符串 https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- 您可以在这里禁用收藏表情的快捷键绑定。
    FavKeybindEnabled = true,
    FavKeybind = 'capital', -- 在这里获取按钮字符串 https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- 您可以在这里更改菜单的头部图像
    -- 使用 512 x 128 的图像!
    -- 注意,这可能会导致图像在玩家屏幕上卡住
    CustomMenuEnabled = true,
    MenuImage = "https://i.giphy.com/media/zpKIWAzNO9IhYwEGkN/giphy.gif", -------
    -- 您可以通过粘贴链接来更改菜单图像。它必须具有相同的宽度和长度
    -- 您可以在这里更改菜单的名称,或留空以删除自定义横幅前的文本
    MenuTitle = "",
    -- 您可以在这里更改菜单位置
    MenuPosition = "right", -- (left, right)
    -- 您可以在这里启用或禁用 Ragdoll 快捷键绑定。
    RagdollEnabled = false,
    RagdollKeybind = 'u', -- 在这里获取按钮字符串 https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- 您可以在这里将 Ragdoll 启用为切换。仅在 RagdollEnabled 设置为 true 时有效。
    RagdollAsToggle = true,
    -- 您可以在这里禁用面部表情菜单。
    ExpressionsEnabled = true,
    -- 将表情样式保存到客户端并在加入时应用
    PersistentExpression = true,
    -- 您可以在这里禁用行走风格菜单。
    WalkingStylesEnabled = true,
    -- 将行走风格保存到客户端并定期应用
    PersistentWalk = true,
    -- 应用持久行走风格的轮询周期
    PersistencePollPeriod = 60000,
    -- 您可以在这里禁用共享表情。
    SharedEmotesEnabled = true,
    -- 如果您已导入 SQL,请启用此项以打开快捷键绑定。
    SqlKeybinding = false,
    -- 如果您不喜欢 GTA 通知,可以在这里禁用它们,以便在聊天中显示消息。
    NotificationsAsChatMessage = false,
    -- 用于一些框架依赖的东西。接受的值: "qb-core", false
    Framework = false,
    -- 您可以在这里禁用成人表情。
    AdultEmotesDisabled = false,
    -- 您可以在这里禁用动物表情。
    AnimalEmotesEnabled = true,
    -- 用于启用或禁用菜单中的搜索功能。
    Search = true,
    -- 您可以在这里禁用举手 / 更改快捷键。当前设置为 H
    HandsupKeybindEnabled = true,
    HandsupKeybind = 'h', -- 在这里获取按钮字符串 https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- 您可以在这里禁用指指点点 / 更改快捷键。当前设置为 B
    PointingEnabled = false,
    PointingKeybindEnabled = false,
    PointingKeybind = 'b', -- 在这里获取按钮字符串 https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- 是否应启用蹲下。
    CrouchEnabled = true,
    CrouchKeybindEnabled = true, -- 如果为 true,蹲下将使用快捷键。
    CrouchKeybind = 'lcontrol', -- 默认蹲下快捷键,在这里获取按钮字符串: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    CrouchOverride = false, -- 如果为 true,即使蹲下键和“鸭子”键相同,您也不会进入潜行模式。
    -- 是否应启用爬行。
    CrawlEnabled = true,
    CrawlKeybindEnabled = true, -- 如果为 true,爬行将使用快捷键。
    CrawlKeybind = 'rcontrol', -- 默认爬行快捷键,在这里获取按钮字符串: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
    -- 检查更新
    CheckForUpdates = true,
}

Config.KeybindKeys = {
    ['num4'] = 108,
    ['num5'] = 110,
    ['num6'] = 109,
    ['num7'] = 117,
    ['num8'] = 111,
    ['num9'] = 118
}
页: [1]
查看完整版本: 翻译 保留源代码