翻译
name = "Vehicle Shop", -- name of the vehicle shop
licenseType = "", -- if you want to use a license system you'll need to set it up on sv_utils.lua
currency = "bank", -- used to buy/sell the business and buy vehicle
hasOwner = true, -- true = this vehicle shop can have a owner and will need maintenance to have stock | false = no owner and with vehicles all the time, price = max_price set on the database
coords = {x = -32.83252, y= -1097.17, z= 27.27441}, -- Marker/Shop position
sellVehicleCoords = {x = -44.72, y = -1082.12, z = 25.50},
sellVehicleMarker = {id = 1, color = {r = 255, g = 0, b = 0, a = 90}, size = {x = 4.0, y = 4.0, z = 1.5}, radius = 2.5, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0}, -- Marker informations for the sell vehicle marker
ownerCoords = {x = -25.66917, y= -1104.639, z= 27.27433}, -- Marker/Shop position for owner/employees
spawnFlatbedPos = {x = -16.95, y = -1105.34, z = 26.67, h = 160.0}, -- Where the flatbed/truck is spawned for the orders
towCoords = {bone = 20, xPos = -0.5, yPos = -5.0, zPos = 1.0},
missionsVehicleSpawn = { -- Locations where someone who accepted an order will have to go (it is random)
{x = -465.99, y = -618.22, z = 31.17, h = 100.0},
--{x = 218.46, y = -850.71, z = 30.16, h = 100.0},
name = "车辆商店", -- 车辆商店的名称
licenseType = "", -- 如果想要使用许可证系统,需要在sv_utils.lua中设置
currency = "bank", -- 用于购买/出售商业和购买车辆
hasOwner = true, -- true = 这个车辆商店可以有所有者,并且需要维护以有库存 | false = 没有所有者,并且随时有车辆,价格=数据库中设置的最高价格
coords = {x = -32.83252, y= -1097.17, z= 27.27441}, -- 标记/商店位置
sellVehicleCoords = {x = -44.72, y = -1082.12, z = 25.50},
sellVehicleMarker = {id = 1, color = {r = 255, g = 0, b = 0, a = 90}, size = {x = 4.0, y = 4.0, z = 1.5}, radius = 2.5, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0}, -- 出售车辆标记的信息
ownerCoords = {x = -25.66917, y= -1104.639, z= 27.27433}, -- 所有者/员工的标记/商店位置
spawnFlatbedPos = {x = -16.95, y = -1105.34, z = 26.67, h = 160.0}, -- 为订单生成平板卡车的位置
towCoords = {bone = 20, xPos = -0.5, yPos = -5.0, zPos = 1.0},
missionsVehicleSpawn = { -- 某人接受订单后必须前往的位置(随机的)
{x = -465.99, y = -618.22, z = 31.17, h = 100.0},
--{x = 218.46, y = -850.71, z = 30.16, h = 100.0},
以上是对代码的翻译,这段代码应该放在服务器脚本文件(server.lua)中。
页:
[1]