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

翻译

[复制链接]

升级进度: 20%

猪猪侠 发表于 2024-5-17 18:05:32 | 显示全部楼层 |阅读模式

https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2 https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D


Config = {}https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
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/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
Config.AutoCamPosition = true -- If true it'll set the camera position automatically
  • https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3

  • 不要乱来哦

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

    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
    Config.HideMinimap = true -- If true it'll hide the minimap when interacting with an NPC
    https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N

    https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
    Config.UseOkokTextUI = true -- If true it'll use okokTextUI

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


    https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2 https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y


    Config.CameraAnimationTime = 1000 -- Camera animation time: 1000 = 1 secondhttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
    Config.TalkToNPC = {
    https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5

        {https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
            npc = 'u_m_y_abner',                                        -- Website too see peds name: https://wiki.rage.mp/index.php?title=Pedshttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
            header = 'Employee of the',                                 -- Text over the name
  • https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0

  •         name = 'Pacific Bank',                                      -- Text under the headerhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
            uiText = "Pacific Bank's Employee",                         -- Name shown on the notification when near the NPC

    https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0


            dialog = 'Hey, how can I help you?',                        -- Text showm on the message bubble
  • https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K

  •         coordinates = vector3(254.17, 222.8, 105.3),                -- coordinates of NPChttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
            heading = 160.0,                                            -- Heading of NPC (needs decimals, 0.0 for example)
  • https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr

  •         camOffset = vector3(0.0, 0.0, 0.0),                         -- Camera position relative to NPC  | (only works if Config.AutoCamPosition = false)https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
            camRotation = vector3(0.0, 0.0, 0.0),                       -- Camera rotation                  | (only works if Config.AutoCamRotation = false)https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
            interactionRange = 2.5,                                     -- From how far the player can interact with the NPChttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
            options = {                                                 -- Options shown when interacting (Maximum 6 options per NPC)

    https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N


                {'Where is the toilet?', 'okokTalk:toilet', 'c'},       -- 'c' for clienthttps://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
                {'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/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
                {"I want to access my safe.", 'okokTalk:safe', 'c'}, https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
                {"I want to make a new credit card.", 'okokTalk:card', 'c'}, https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
                {"I lost my credit card.", 'okokTalk:lost', 'c'}, https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
                {"Is Jennifer working?", 'okokTalk:jennifer', 'c'}, https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
            },

    https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz


            jobs = {                                                    -- Jobs that can interact with the NPChttps://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
                https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
            },
  • https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn

  •     },
  • https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K

  •     --[[https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
        -- This is the template to create new NPCshttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
        {https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
            npc = "",
    https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5

            header = "",

    https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1 https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl


            name = "",https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
            uiText = "",https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
            dialog = "",
  • https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz

  •         coordinates = vector3(0.0, 0.0, 0.0),

    https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3 https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst


            heading = 0.0,

    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0 https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K


            camOffset = vector3(0.0, 0.0, 0.0),https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
            camRotation = vector3(0.0, 0.0, 0.0),https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
            interactionRange = 0,
  • https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U

  •         options = {

    https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3

    https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W


                {"", 'client:event', 'c'},https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
                {"", 'client:event', 'c'},https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
                {"", 'client:event', 'c'}, https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
                {"", 'server:event', 's'}, 这是干扰码
                {"", 'server:event', 's'},
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst

                {"", 'server:event', 's'}, https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
            },

    https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3 https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6


            jobs = {    -- Example jobs

    https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X

    https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4


                'police',https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
                'ambulance',
  • https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8

  •         },

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


        },
    https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J

        ]]--https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
    https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
    https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y
    https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3

    https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9

  • https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P

  • https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh

    https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
    回复 论坛版权

    使用道具 举报

    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-9-18 00:36 , Processed in 0.065008 second(s), 10 queries , Redis On.

    Powered by Discuz! X3.4

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

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