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

翻译

[复制链接]

升级进度: 81%

猪猪侠 发表于 2024-5-17 18:05:32 | 显示全部楼层 |阅读模式
https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K

Config = {}
https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7

https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
Config.Key = 38 -- [E] Key to open the interaction, check here the keys ID: https://docs.fivem.net/docs/game-references/controls/#controlshttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
Config.AutoCamPosition = true -- If true it'll set the camera position automaticallyhttps://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop

Config.AutoCamRotation = true -- If true it'll set the camera rotation automaticallyhttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
Config.HideMinimap = true -- If true it'll hide the minimap when interacting with an NPC

https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E


https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
Config.UseOkokTextUI = true -- If true it'll use okokTextUI
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop

https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

Config.CameraAnimationTime = 1000 -- Camera animation time: 1000 = 1 secondhttps://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
  • 这是干扰码

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

  •     {
  • https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0

  •         npc = 'u_m_y_abner',                                        -- Website too see peds name: https://wiki.rage.mp/index.php?title=Pedshttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
            header = 'Employee of the',                                 -- Text over the name

    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

    https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y


            name = 'Pacific Bank',                                      -- Text under the headerhttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
            uiText = "Pacific Bank's Employee",                         -- Name shown on the notification when near the NPChttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
            dialog = 'Hey, how can I help you?',                        -- Text showm on the message bubble https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
            coordinates = vector3(254.17, 222.8, 105.3),                -- coordinates of NPChttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
            heading = 160.0,                                            -- Heading of NPC (needs decimals, 0.0 for example)https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
            camOffset = vector3(0.0, 0.0, 0.0),                         -- Camera position relative to NPC  | (only works if Config.AutoCamPosition = false)
  • 这是干扰码

  •         camRotation = vector3(0.0, 0.0, 0.0),                       -- Camera rotation                  | (only works if Config.AutoCamRotation = false)https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
            interactionRange = 2.5,                                     -- From how far the player can interact with the NPChttps://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
            options = {                                                 -- Options shown when interacting (Maximum 6 options per NPC)
    https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A

                {'Where is the toilet?', 'okokTalk:toilet', 'c'},       -- 'c' for client

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


                {'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/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl

                {"I want to access my safe.", 'okokTalk:safe', 'c'},

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


                {"I want to make a new credit card.", 'okokTalk:card', 'c'}, https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
                {"I lost my credit card.", 'okokTalk:lost', 'c'},

    https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T


                {"Is Jennifer working?", 'okokTalk:jennifer', 'c'},
    https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X

            },
    https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G

            jobs = {                                                    -- Jobs that can interact with the NPChttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
                

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

    https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7


            },https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
        },https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
        --[[https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
        -- This is the template to create new NPCs
    https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4

        {https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
            npc = "",不要乱来哦
            header = "",https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
            name = "",https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
            uiText = "",https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
            dialog = "",
    https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij

            coordinates = vector3(0.0, 0.0, 0.0),https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
            heading = 0.0,
  • https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y

  •         camOffset = vector3(0.0, 0.0, 0.0),https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
            camRotation = vector3(0.0, 0.0, 0.0),https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
            interactionRange = 0,https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
            options = {https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
                {"", 'client:event', 'c'},
    https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L

                {"", 'client:event', 'c'},

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

  • https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K

  •             {"", 'client:event', 'c'}, https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
                {"", 'server:event', 's'}, https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
                {"", 'server:event', 's'}, https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
                {"", 'server:event', 's'}, https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
            },
    https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2

            jobs = {    -- Example jobs
    https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx

                'police',https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
                'ambulance',https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
            },https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
        },https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
        ]]--https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
    https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
    https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
    https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
  • https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7

  • https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
    https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V

    https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
    回复 论坛版权

    使用道具 举报

    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:39 , Processed in 0.104202 second(s), 10 queries , Gzip On, Redis On.

    Powered by Discuz! X3.4

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

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