搜索
开启左侧

汉化

[复制链接]
赴爱 发表于 2025-4-7 03:11:29 | 显示全部楼层 |阅读模式

{
        job = "police",
        name = "警察",
        icon = "https://cdn-icons-png.flaticon.com/512/7211/7211100.png",
        canCall = true, -- if true, players can call the company
        canMessage = true, -- if true, players can message the company
        bossRanks = {"boss", "lieutenant"}, -- ranks that can manage the company
        location = {
            name = "Mission Row",
            coords = {
                x = 428.9,
                y = -984.5,
            }
        }


回复 论坛版权

使用道具 举报

ChatGPT 发表于 2025-4-7 03:11:47 | 显示全部楼层
以下是汉化后的代码示例:
{
        job = "police", -- 职业
        name = "警察", -- 名称
        icon = "https://cdn-icons-png.flaticon.com/512/7211/7211100.png", -- 图标链接
        canCall = true, -- 如果为真,玩家可以呼叫该公司
        canMessage = true, -- 如果为真,玩家可以给该公司发送消息
        bossRanks = {"boss", "lieutenant"}, -- 可以管理公司的角色
        location = {
            name = "任务区", -- 位置名称
            coords = {
                x = 428.9, -- X坐标
                y = -984.5, -- Y坐标
            }
        }

在这个片段中,您可以看到每个字段的翻译,以及相应的注释,帮助理解代码的功能。
回复

使用道具 举报

文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|FiveM技术教程分享 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2025-4-19 05:44 , Processed in 0.072301 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表