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

翻译

[复制链接]

升级进度: 25%

猪猪侠 发表于 2024-5-20 09:45:44 | 显示全部楼层 |阅读模式
Config.EnableNotifications = false -- Do you want notifications when a player enters and exits the preconfigured greenzones (The Config.GreenZones)?https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
Config.GreenzonesCommand = 'setzone' -- The command to run in-game to start creating a temporary greenzonehttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
Config.GreenzonesClearCommand = 'clearzone' -- The command to run in-game to clear an existing temporary greenzonehttps://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
Config.GreenZones = { -- These are persistent greenzones that exist constantly, at all times - you can create as many as you want here
https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx

    ['hospital'] = {
https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9

        coords = vec3(299.2270, -584.6892, 43.2608), -- The center-most location of the greenzone
  • https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx

  •         radius = 100.0, -- The radius (how large or small) the greenzone is (note: this must include the .0 on the end of the number to work)https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
            disablePlayerVehicleCollision = false, -- Do you want to disable players & their vehicles collisions between each other? (true if yes, false if no)https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
            enableSpeedLimits = true, -- Do you want to enforce a speed limit in this zone? (true if yes, false if no)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
            setSpeedLimit = 30, -- The speed limit (in MPH) that will be enforced in this zone if enableSpeedLimits is truehttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
            removeWeapons = true, -- Do you want to remove weapons completely from players hands while in this zone? (true if yes, false if no)
    https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T

            disableFiring = true, -- Do you want to disable everyone from firing weapons/punching/etc in this zone? (true if yes, false if no)https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
            setInvincible = true, -- Do you want everyone to be invincible in this zone? (true if yes, false if no)
    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0

            displayTextUI = true, -- Do you want textUI to display on everyones screen while in this zone? (true if yes, false if no)

    https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8 https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop


            textToDisplay = 'Hospital Green Zone', -- The text to display on everyones screen if displayTextUI is true for this zone
    https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H

            backgroundColorTextUI = '#ff5a47', -- The color of the textUI background to display if displayTextUI is true for this zone

    你好啊 https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1


            textColor = '#000000', -- The color of the text & icon itself on the textUI if displayTextUI is true for this zone
    https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5

            displayTextPosition = 'top-center', -- The position of the textUI if displayTextUI is true for this zone

    https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1 https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7


            displayTextIcon = 'hospital', -- The icon to be displayed on the TextUI in this zone if displayTextUI is true
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh

            blip = true, -- Do you want a blip to display on the map here? True for yes, false for no
    https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N

            blipType = 'radius', -- Type can be 'radius' or 'normal'https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
            enableSprite = false, -- Do you want a sprite at the center of the radius blip? (If blipType = 'normal', this don't matter, it will display a sprite)
  • https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr

  •         blipSprite = 621, -- Blip sprite (https://docs.fivem.net/docs/game-references/blips/) (only used if enableSprite = true, otherwise can be ignored)
    https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E

            blipColor = 2, -- Blip color (https://docs.fivem.net/docs/game-references/blips/#blip-colors)https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
            blipScale = 0.7, -- Blip size (0.01 to 1.0) (only used if enableSprite = true, otherwise can be ignored)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
            blipAlpha = 100, -- The transparency of the radius blip if blipType = 'radius', otherwise not used/can be ignoredhttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
            blipName = 'Hospital Greenzone' -- Blip name on the map (if enableSprite = true, otherwise can be ignored)https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
        },
  • https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr

  •     ['policestation'] = {

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


            coords = vec3(432.7403, -982.1954, 30.7105),https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
            radius = 100.0,https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
            disablePlayerVehicleCollision = false,https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
            enableSpeedLimits = true,https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
            setSpeedLimit = 40,https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
            removeWeapons = false,
    https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr

            disableFiring = true,
    https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O

            setInvincible = false,https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
            displayTextUI = true,https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
            textToDisplay = 'Police Green Zone',https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
            backgroundColorTextUI = '#ff5a47',
    https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5

            textColor = '#000000',https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
            displayTextPosition = 'top-center',
    https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N

            displayTextIcon = 'shield-halved',
  • https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T

  •         blip = true,

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

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


            blipType = 'radius',https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
            enableSprite = false,https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
            blipSprite = 621,https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
            blipColor = 2,
    https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5

            blipScale = 0.7,
  • https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U

  •         blipAlpha = 100,https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
            blipName = 'LSPD Greenzone'https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
        },

    https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1

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


        ['examplelocation3'] = {https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
            coords = vec3(-1243.6606, 1348.0383, 212.7915),
  • https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz

  •         radius = 200.0,https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
            disablePlayerVehicleCollision = false,https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
            enableSpeedLimits = false,https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
            setSpeedLimit = 40,https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
            removeWeapons = true,

    你好啊

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


            disableFiring = false,
  • https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O

  •         setInvincible = true,https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
            displayTextUI = true,
    https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5

            textToDisplay = 'Random Green Zone',https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
            backgroundColorTextUI = '#ff5a47',
    https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I

            textColor = '#000000',
    https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W

            displayTextPosition = 'top-center',https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
            displayTextIcon = 'box',
  • https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O

  •         blip = true,https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
            blipType = 'radius',
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N

            enableSprite = false,
    https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E

            blipSprite = 621,https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
            blipColor = 2,https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
            blipScale = 0.8,
  • https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J

  •         blipAlpha = 100,
  • https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J

  •         blipName = 'Another Greenzone'https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
        }
  • https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J

  •     -- Create more zones here by following the same format as abovehttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
    }
  • https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U

  • https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz

  • Notifications = {https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
        position = 'top', -- The position for all notifications

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

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

  •     greenzoneTitle = 'Green Zone', -- Title when entering a greenzone

    https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd

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


        greenzoneIcon = 'border-all', -- The icon displayed on the notificationshttps://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
        greenzoneEnter = 'You have entered a greenzone and certain actions have been disabled', -- Description when entering a greenzonehttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
        greenzoneExit = 'You have exited a greenzone and all actions have been restored', -- Description when exiting a greenzone

    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef


    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
    https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2

    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V

    https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
    回复 论坛版权

    使用道具 举报

    ChatGPT 发表于 2024-5-20 09:46:05 | 显示全部楼层
    Config.EnableNotifications = false -- 当玩家进入和离开预设的绿色区域(Config.GreenZones)时,是否希望收到通知?
    Config.GreenzonesCommand = 'setzone' -- 在游戏中运行的命令,用于创建临时绿色区域
    Config.GreenzonesClearCommand = 'clearzone' -- 在游戏中运行的命令,用于清除已存在的临时绿色区域

    Config.GreenZones = { -- 这些是持久性绿色区域,始终存在 - 您可以在这里创建任意数量的绿色区域
         = {
            coords = vec3(299.2270, -584.6892, 43.2608), -- 绿色区域的中心位置
            radius = 100.0, -- 绿色区域的半径(大小)(注意:数字末尾必须包含 .0 才能生效)
            disablePlayerVehicleCollision = false, -- 是否要禁用玩家和车辆之间的碰撞?(是为 true,否为 false)
            enableSpeedLimits = true, -- 是否要在此区域实施速度限制?(是为 true,否为 false)
            setSpeedLimit = 30, -- 如果 enableSpeedLimits 为 true,则在此区域强制执行的速度限制(英里/小时)
            removeWeapons = true, -- 是否要完全从玩家手中移除武器?(是为 true,否为 false)
            disableFiring = true, -- 是否要禁止所有人在此区域开火/近身攻击等?(是为 true,否为 false)
            setInvincible = true, -- 是否希望所有人在此区域中无敌?(是为 true,否为 false)
            displayTextUI = true, -- 在此区域内是否希望在每个人屏幕上显示文本UI?(是为 true,否为 false)
            textToDisplay = '医院绿色区域', -- 如果 displayTextUI 是 true,则在此区域中显示在每个人屏幕上的文本
            backgroundColorTextUI = '#ff5a47', -- 如果 displayTextUI 是 true,则用于显示文本UI背景的颜色
            textColor = '#000000', -- 如果 displayTextUI 是 true,则在此区域中显示文本和图标本身的颜色
            displayTextPosition = 'top-center', -- 如果 displayTextUI 是 true,则在此区域中显示文本UI的位置
            displayTextIcon = 'hospital', -- 如果 displayTextUI 是 true,则在此区域中文本UI上显示的图标
            blip = true, -- 是否要在地图上显示一个提示?是为 true,否为 false
            blipType = 'radius', -- 类型可以是 'radius' 或 'normal'
            enableSprite = false, -- 是否要在半径提示的中心显示一个精灵?(如果 blipType = 'normal',则此项无关紧要,将显示一个精灵)
            blipSprite = 621, -- 提示精灵(https://docs.fivem.net/docs/game-references/blips/)(仅当 enableSprite = true 时使用,否则可忽略)
            blipColor = 2, -- 提示颜色(https://docs.fivem.net/docs/game-references/blips/#blip-colors)
            blipScale = 0.7, -- 提示大小(0.01 到 1.0)(仅当 enableSprite = true 时使用,否则可忽略)
            blipAlpha = 100, -- 如果 blipType = 'radius',则为半径提示的透明度,否则不使用/可忽略
            blipName = '医院绿色区域' -- 地图上的提示名称(如果 enableSprite = true,否则可忽略)
        },
         = {
            coords = vec3(432.7403, -982.1954, 30.7105),
            radius = 100.0,
            disablePlayerVehicleCollision = false,
            enableSpeedLimits = true,
            setSpeedLimit = 40,
            removeWeapons = false,
            disableFiring = true,
            setInvincible = false,
            displayTextUI = true,
            textToDisplay = '警察绿色区域',
            backgroundColorTextUI = '#ff5a47',
            textColor = '#000000',
            displayTextPosition = 'top-center',
            displayTextIcon = 'shield-halved',
            blip = true,
            blipType = 'radius',
            enableSprite = false,
            blipSprite = 621,
            blipColor = 2,
            blipScale = 0.7,
            blipAlpha = 100,
            blipName = 'LSPD绿色区域'
        },
         = {
            coords = vec3(-1243.6606, 1348.0383, 212.7915),
            radius = 200.0,
            disablePlayerVehicleCollision = false,
            enableSpeedLimits = false,
            setSpeedLimit = 40,
            removeWeapons = true,
            disableFiring = false,
            setInvincible = true,
            displayTextUI = true,
            textToDisplay = '随机绿色区域',
            backgroundColorTextUI = '#ff5a47',
            textColor = '#000000',
            displayTextPosition = 'top-center',
            displayTextIcon = 'box',
            blip = true,
            blipType = 'radius',
            enableSprite = false,
            blipSprite = 621,
            blipColor = 2,
            blipScale = 0.8,
            blipAlpha = 100,
            blipName = '另一个绿色区域'
        }
        -- 通过按照上述格式创建更多区域
    }

    Notifications = {
        position = 'top', -- 所有通知的位置
        greenzoneTitle = '绿色区域', -- 进入绿色区域时的标题
        greenzoneIcon = 'border-all', -- 通知上显示的图标
        greenzoneEnter = '您已进入绿色区域,某些操作已被禁用', -- 进入绿色区域时的描述
        greenzoneExit = '您已退出绿色区域,所有操作已恢复', -- 退出绿色区域时的描述
    回复

    使用道具 举报

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

    本版积分规则

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

    GMT+8, 2024-9-20 21:24 , Processed in 0.061009 second(s), 8 queries , Redis On.

    Powered by Discuz! X3.4

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

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