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

翻译

[复制链接]

升级进度: 81%

猪猪侠 发表于 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/5W6X7Y8Z9A0B1C2D3E4F
Config.GreenzonesCommand = 'setzone' -- The command to run in-game to start creating a temporary greenzone
https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4

Config.GreenzonesClearCommand = 'clearzone' -- The command to run in-game to clear an existing temporary greenzonehttps://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7

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

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


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/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1

  •     ['hospital'] = {不影响正文阅读
            coords = vec3(299.2270, -584.6892, 43.2608), -- The center-most location of the greenzone
    https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6

            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/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
            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/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
            enableSpeedLimits = true, -- Do you want to enforce a speed limit in this zone? (true if yes, false if no)
  • https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T

  •         setSpeedLimit = 30, -- The speed limit (in MPH) that will be enforced in this zone if enableSpeedLimits is truehttps://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
            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/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
            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/4V5W6X7Y8Z9A0B1C2D3E
            setInvincible = true, -- Do you want everyone to be invincible in this zone? (true if yes, false if no)
    https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4

            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/6O7P8Q9R0S1T2U3V4W5X

            textToDisplay = 'Hospital Green Zone', -- The text to display on everyones screen if displayTextUI is true for this zone
  • https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst

  •         backgroundColorTextUI = '#ff5a47', -- The color of the textUI background to display if displayTextUI is true for this zone
    https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd

            textColor = '#000000', -- The color of the text & icon itself on the textUI if displayTextUI is true for this zonehttps://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
            displayTextPosition = 'top-center', -- The position of the textUI if displayTextUI is true for this zone
    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx

            displayTextIcon = 'hospital', -- The icon to be displayed on the TextUI in this zone if displayTextUI is truehttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
            blip = true, -- Do you want a blip to display on the map here? True for yes, false for no
  • https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T

  •         blipType = 'radius', -- Type can be 'radius' or 'normal'https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
            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/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
            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/4V5W6X7Y8Z9A0B1C2D3E
            blipColor = 2, -- Blip color (https://docs.fivem.net/docs/game-references/blips/#blip-colors)https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
            blipScale = 0.7, -- Blip size (0.01 to 1.0) (only used if enableSprite = true, otherwise can be ignored)

    https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G


            blipAlpha = 100, -- The transparency of the radius blip if blipType = 'radius', otherwise not used/can be ignored

    https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8 https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F


            blipName = 'Hospital Greenzone' -- Blip name on the map (if enableSprite = true, otherwise can be ignored)
    https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z

        },https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
        ['policestation'] = {https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
            coords = vec3(432.7403, -982.1954, 30.7105),https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
            radius = 100.0,https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
            disablePlayerVehicleCollision = false,https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
            enableSpeedLimits = true,https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
            setSpeedLimit = 40,https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
            removeWeapons = false,https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
            disableFiring = true,
    https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y

            setInvincible = false,https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
            displayTextUI = true,https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
            textToDisplay = 'Police Green Zone',

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

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


            backgroundColorTextUI = '#ff5a47',
    https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C

            textColor = '#000000',https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
            displayTextPosition = 'top-center',https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
            displayTextIcon = 'shield-halved',https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
            blip = true,https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
            blipType = 'radius',
    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0

            enableSprite = false,https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
            blipSprite = 621,
    https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q

            blipColor = 2,https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
            blipScale = 0.7,https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
            blipAlpha = 100,

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


            blipName = 'LSPD Greenzone'

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


        },https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
        ['examplelocation3'] = {https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
            coords = vec3(-1243.6606, 1348.0383, 212.7915),https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
            radius = 200.0,不影响正文阅读
            disablePlayerVehicleCollision = false,https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
            enableSpeedLimits = false,https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
            setSpeedLimit = 40,https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
            removeWeapons = true,

    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U


            disableFiring = false,https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
            setInvincible = true,https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
            displayTextUI = true,https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
            textToDisplay = 'Random Green Zone',
    https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H

            backgroundColorTextUI = '#ff5a47',https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
            textColor = '#000000',
    https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R

            displayTextPosition = 'top-center',https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
            displayTextIcon = 'box',https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
            blip = true,
    https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A

            blipType = 'radius',https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
            enableSprite = false,
    https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J

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

            blipColor = 2,https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
            blipScale = 0.8,https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
            blipAlpha = 100,
  • https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1

  •         blipName = 'Another Greenzone'

    https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3


        }

    https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst


        -- Create more zones here by following the same format as abovehttps://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
    }https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
    https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
    Notifications = {
    https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4

        position = 'top', -- The position for all notificationshttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
        greenzoneTitle = 'Green Zone', -- Title when entering a greenzonehttps://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
        greenzoneIcon = 'border-all', -- The icon displayed on the notificationshttps://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
        greenzoneEnter = 'You have entered a greenzone and certain actions have been disabled', -- Description when entering a greenzonehttps://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
        greenzoneExit = 'You have exited a greenzone and all actions have been restored', -- Description when exiting a greenzonehttps://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
    https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
    https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
    https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9

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

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

    https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
    回复 论坛版权

    使用道具 举报

    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-11-25 05:32 , Processed in 0.051211 second(s), 10 queries , Gzip On, Redis On.

    Powered by Discuz! X3.4

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

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