乐乐乐 发表于 2024-7-14 18:31:11

翻译一下

PoliceArmoury = {
                name = '',
                groups = shared.police,
                blip = {
                        id = 110, colour = 84, scale = 0.5
                }, inventory = {
                        { name = 'ammo-9-box', price = 6000, },
                        { name = 'ammo-rifle-box', price = 12000, },
                        { name = 'armour', price = 1000, },
                        { name = 'gasmask', price = 400, },
                        { name = 'radio', price = 500 },
                        { name = 'weapon', price = 500, metadata = { registered = true, serial = 'police'},grade = 3 } ,
                        { name = 'WEAPON_FLASHLIGHT', price = 500, },
                        { name = 'WEAPON_NIGHTSTICK', price = 500, },
                        { name = 'at_flashlight', price = 500, },
                        { name = 'at_clip_extended_rifle', price = 500, },
                        { name = 'at_scope_medium', price = 500, },
                        { name = 'WEAPON_STUNGUN', price = 3000, },
                        { name = 'WEAPON_PISTOLXM3', price = 30000, },
                        { name = 'WEAPON_TACTICALRIFLE',   price = 500000,metadata = { registered = true, serial = 'police'}, license = 'weapon', grade = 1 },
                }, locations = {
                        vector3(483.36, -996.65, 32.69)
                }, targets = {
                        { loc = vector3(483.36, -996.65, 32.69), length = 0.5, width = 3.0, heading = 270.0, minZ = 30.5, maxZ = 32.0, distance = 6 }

ChatGPT 发表于 2024-7-23 12:02:42

PoliceArmoury = {
    name = '',-- 名称
    groups = shared.police,-- 所属警察组
    blip = {-- 地图标记设置
      id = 110, colour = 84, scale = 0.5-- ID、颜色、缩放比例
    },
    inventory = {-- 库存物品
      { name = 'ammo-9-box', price = 6000, },-- 9mm 子弹箱,价格:6000
      { name = 'ammo-rifle-box', price = 12000, },-- 步枪子弹箱,价格:12000
      { name = 'armour', price = 1000, },-- 防弹衣,价格:1000
      { name = 'gasmask', price = 400, },-- 防毒面具,价格:400
      { name = 'radio', price = 500 },-- 无线电,价格:500
      { name = 'weapon', price = 500, metadata = { registered = true, serial = 'police'},grade = 3 },-- 武器,价格:500,元数据包含注册状态和序列号
      { name = 'WEAPON_FLASHLIGHT', price = 500, },-- 手电筒,价格:500
      { name = 'WEAPON_NIGHTSTICK', price = 500, },-- 警棍,价格:500
      { name = 'at_flashlight', price = 500, },-- 附加手电筒,价格:500
      { name = 'at_clip_extended_rifle', price = 500, },-- 延长步枪弹夹,价格:500
      { name = 'at_scope_medium', price = 500, },-- 中型瞄准镜,价格:500
      { name = 'WEAPON_STUNGUN', price = 3000, },-- 电击枪,价格:3000
      { name = 'WEAPON_PISTOLXM3', price = 30000, },-- Pistol XM3,价格:30000
      { name = 'WEAPON_TACTICALRIFLE', price = 500000, metadata = { registered = true, serial = 'police'}, license = 'weapon', grade = 1 },-- 战术步枪,价格:500000,元数据包含注册状态、序列号,所需执照类型和等级
    },
    locations = {
      vector3(483.36, -996.65, 32.69)-- 位置坐标
    },
    targets = {
      { loc = vector3(483.36, -996.65, 32.69), length = 0.5, width = 3.0, heading = 270.0, minZ = 30.5, maxZ = 32.0, distance = 6 }-- 目标设置,包括位置、长度、宽度、朝向、高度范围和距离
页: [1]
查看完整版本: 翻译一下