搜索
查看: 107|回复: 1
收起左侧

翻译

[复制链接]

升级进度: 81%

猪猪侠 发表于 2024-5-17 18:05:32 | 显示全部楼层 |阅读模式
  • https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1

  • Config = {}https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
    https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
    Config.Key = 38 -- [E] Key to open the interaction, check here the keys ID: https://docs.fivem.net/docs/game-references/controls/#controls
    https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5

    https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U


    Config.AutoCamPosition = true -- If true it'll set the camera position automatically哈哈
    https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3

    Config.AutoCamRotation = true -- If true it'll set the camera rotation automatically
    https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3

    https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2


    Config.HideMinimap = true -- If true it'll hide the minimap when interacting with an NPChttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
    https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R

    Config.UseOkokTextUI = true -- If true it'll use okokTextUI https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

    Config.CameraAnimationTime = 1000 -- Camera animation time: 1000 = 1 second
  • https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7

  • https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F

    https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn


    Config.TalkToNPC = {https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
        {https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
            npc = 'u_m_y_abner',                                        -- Website too see peds name: https://wiki.rage.mp/index.php?title=Pedshttps://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
            header = 'Employee of the',                                 -- Text over the namehttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
            name = 'Pacific Bank',                                      -- Text under the header
  • https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6

  •         uiText = "Pacific Bank's Employee",                         -- Name shown on the notification when near the NPChttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
            dialog = 'Hey, how can I help you?',                        -- Text showm on the message bubble
  • https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6

  •         coordinates = vector3(254.17, 222.8, 105.3),                -- coordinates of NPChttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
            heading = 160.0,                                            -- Heading of NPC (needs decimals, 0.0 for example)https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
            camOffset = vector3(0.0, 0.0, 0.0),                         -- Camera position relative to NPC  | (only works if Config.AutoCamPosition = false)
  • https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S

  •         camRotation = vector3(0.0, 0.0, 0.0),                       -- Camera rotation                  | (only works if Config.AutoCamRotation = false)
    https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W

            interactionRange = 2.5,                                     -- From how far the player can interact with the NPC

    https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9


            options = {                                                 -- Options shown when interacting (Maximum 6 options per NPC)https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
                {'Where is the toilet?', 'okokTalk:toilet', 'c'},       -- 'c' for clienthttps://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
                {'How can I rob the bank?', 'okokTalk:rob', 'c'},       -- 's' for server (if you write something else it'll be server by default)
  • https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y

  •             {"I want to access my safe.", 'okokTalk:safe', 'c'},
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

                {"I want to make a new credit card.", 'okokTalk:card', 'c'},
  • https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N

  •             {"I lost my credit card.", 'okokTalk:lost', 'c'}, https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
                {"Is Jennifer working?", 'okokTalk:jennifer', 'c'}, https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
            },

    https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst


            jobs = {                                                    -- Jobs that can interact with the NPC

    https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D


                https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
            },https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
        },
    这是干扰码

        --[[https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
        -- This is the template to create new NPCshttps://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
        {

    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1


            npc = "",
    https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7

            header = "",
  • https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S

  •         name = "",https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
            uiText = "",https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
            dialog = "",
    https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7

            coordinates = vector3(0.0, 0.0, 0.0),
  • https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S

  •         heading = 0.0,
  • https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y

  •         camOffset = vector3(0.0, 0.0, 0.0),https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
            camRotation = vector3(0.0, 0.0, 0.0),
  • https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W

  •         interactionRange = 0,https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
            options = {https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
                {"", 'client:event', 'c'},https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
                {"", 'client:event', 'c'},https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
                {"", 'client:event', 'c'},

    https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij

    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx


                {"", 'server:event', 's'},
    https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc

                {"", 'server:event', 's'},
  • https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl

  •             {"", 'server:event', 's'}, https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
            },https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
            jobs = {    -- Example jobshttps://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
                'police',
    https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L

                'ambulance',
  • https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S

  •         },https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
        },https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
        ]]--

    https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1


    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
    https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc

    https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9 https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
  • https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd

  • https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl

  • https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
  • 回复 论坛版权

    使用道具 举报

    ChatGPT 发表于 2024-5-17 18:05:50 | 显示全部楼层
    Config = {}
    
    Config.Key = 38 -- 打开交互的按键,查看按键ID:https://docs.fivem.net/docs/game-references/controls/#controls
    
    Config.AutoCamPosition = true -- 如果为true,则自动设置摄像机位置
    
    Config.AutoCamRotation = true -- 如果为true,则自动设置摄像机旋转
    
    Config.HideMinimap = true -- 如果为true,则在与NPC交互时隐藏小地图
    
    Config.UseOkokTextUI = true -- 如果为true,则使用okokTextUI
    
    Config.CameraAnimationTime = 1000 -- 摄像机动画时间:1000 = 1秒
    
    Config.TalkToNPC = {
        {
            npc = 'u_m_y_abner',                                        -- 网站查看人物名称:https://wiki.rage.mp/index.php?title=Peds
            header = 'Employee of the',                                 -- 名字上方的文字
            name = 'Pacific Bank',                                      -- 头衔下方的文字
            uiText = "Pacific Bank's Employee",                         -- 当接近NPC时显示在通知中的名字
            dialog = '嗨,我能帮你什么?',                        -- 在对话气泡中显示的文字
            coordinates = vector3(254.17, 222.8, 105.3),                -- NPC的坐标
            heading = 160.0,                                            -- NPC的朝向(需要小数,例如0.0)
            camOffset = vector3(0.0, 0.0, 0.0),                         -- 相对于NPC的摄像机位置 | (仅在Config.AutoCamPosition = false时有效)
            camRotation = vector3(0.0, 0.0, 0.0),                       -- 摄像机旋转                  | (仅在Config.AutoCamRotation = false时有效)
            interactionRange = 2.5,                                     -- 玩家能够与NPC交互的距离
            options = {                                                 -- 与NPC交互时显示的选项(每个NPC最多6个选项)
                {'厕所在哪里?', 'okokTalk:toilet', 'c'},       -- 'c'表示客户端
                {'我怎样抢银行?', 'okokTalk:rob', 'c'},       -- 's'表示服务端(如果写其它内容,默认为服务端)
                {"我想要访问我的保险柜。", 'okokTalk:safe', 'c'}, 
                {"我想要办一张新信用卡。", 'okokTalk:card', 'c'}, 
                {"我丢失了我的信用卡。", 'okokTalk:lost', 'c'}, 
                {"Jennifer在工作吗?", 'okokTalk:jennifer', 'c'}, 
            },
            jobs = {                                                    -- 可以与NPC交互的职业
                
            },
        },
        --[[   
        -- 这是创建新NPC的模板
        {
            npc = "",
            header = "",
            name = "",
            uiText = "",
            dialog = "",
            coordinates = vector3(0.0, 0.0, 0.0),
            heading = 0.0,
            camOffset = vector3(0.0, 0.0, 0.0),
            camRotation = vector3(0.0, 0.0, 0.0),
            interactionRange = 0,
            options = {
                {"", 'client:event', 'c'},
                {"", 'client:event', 'c'},
                {"", 'client:event', 'c'}, 
                {"", 'server:event', 's'}, 
                {"", 'server:event', 's'}, 
                {"", 'server:event', 's'}, 
            },
            jobs = {    
                'police',
                'ambulance',
            },
        },
        ]]--
    回复

    使用道具 举报

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

    本版积分规则

    QQ|Archiver|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

    GMT+8, 2024-11-25 05:42 , Processed in 0.055724 second(s), 9 queries , Gzip On, Redis On.

    Powered by Discuz! X3.4

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

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