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

帮我翻译一下

[复制链接]

升级进度: 44%

long 发表于 2024-4-28 10:11:46 | 显示全部楼层 |阅读模式

name = "佩里克岛", -- Garage name shown in the menu
  coords = vector3(4512.41015625, -4522.35986328125, 4.19999980926513), -- Marker position
  blip = { blipId = 524, blipColor = 3, blipScale = 0.6, blipText = "车库" }, -- Blip informations
  marker = {
    id = 36,
    color = { r = 31, g = 94, b = 255, a = 90 },
    size = { x = 0.7, y = 0.7, z = 0.7 },
    bobUpAndDown = 0,
    faceCamera = 0,
    rotate = 1,
    drawOnEnts = 0
  },          -- Marker informations
  radius = 1, -- Interaction radius for the marker
  storeVehicleCoords = vector3(4512.41015625, -4522.35986328125, 4.19999980926513),
  storeVehicleMarker = {
    id = 36,
    color = { r = 255, g = 0, b = 0, a = 90 },
    size = { x = 0.7, y = 0.7, z = 0.7 },
    radius = 2.5,
    bobUpAndDown = 0,
    faceCamera = 0,
    rotate = 1,
    drawOnEnts = 0
  },                                        -- Marker informations for the sell vehicle marker
  viewVehicleCoords = vector4(4512.41015625, -4522.35986328125, 4.19999980926513,34.56),
  vehicleSpawn = {                          -- Where the vehicle spawns when you take it out
    vector4(4512.41015625, -4522.35986328125, 4.19999980926513,34.56), -- Make it work with multiple spawn points
   
  },
  infiniteVehicles = false, -- This will work for societies only, set the society vehicles in the Config.SocietyVehiclesList
  id = "perico",            -- ID of the garage, it's used to get what garage is opened | needs to be DIFFERENT for each garage
  society = "",             -- Leave blank if not in use
  type = "car"              -- car, air or boat


回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-4-28 10:11:58 | 显示全部楼层
以下是对代码的注释和翻译:
name = "佩里克岛", -- 菜单中显示的车库名称
coords = vector3(4512.41015625, -4522.35986328125, 4.19999980926513), -- 标记位置
blip = { blipId = 524, blipColor = 3, blipScale = 0.6, blipText = "车库" }, -- 图标信息
marker = {
  id = 36,
  color = { r = 31, g = 94, b = 255, a = 90 },
  size = { x = 0.7, y = 0.7, z = 0.7 },
  bobUpAndDown = 0,
  faceCamera = 0,
  rotate = 1,
  drawOnEnts = 0
},          -- 标记信息
radius = 1, -- 标记互动半径
storeVehicleCoords = vector3(4512.41015625, -4522.35986328125, 4.19999980926513),
storeVehicleMarker = {
  id = 36,
  color = { r = 255, g = 0, b = 0, a = 90 },
  size = { x = 0.7, y = 0.7, z = 0.7 },
  radius = 2.5,
  bobUpAndDown = 0,
  faceCamera = 0,
  rotate = 1,
  drawOnEnts = 0
},                                        -- 出售车辆标记信息
viewVehicleCoords = vector4(4512.41015625, -4522.35986328125, 4.19999980926513,34.56),
vehicleSpawn = {                          -- 取出车辆时车辆生成的位置
  vector4(4512.41015625, -4522.35986328125, 4.19999980926513,34.56), -- 使其适用于多个生成点
},
infiniteVehicles = false, -- 仅适用于团体,将团体车辆设置在 Config.SocietyVehiclesList 中
id = "perico",            -- 车库的 ID,用于获取已打开的车库 | 每个车库的 ID 需要不同
society = "",             -- 如果没有使用社团则留空
type = "car"              -- 车辆类型:car(汽车)、air(飞机)或 boat(船)

这段代码应该放在服务器脚本文件(server.lua)中。
回复

使用道具 举报

ahome_bigavatar:guest
ahome_bigavatar:welcomelogin
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-5-23 14:57 , Processed in 0.371488 second(s), 26 queries .

Powered by Discuz! X3.4

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

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