翻译
name = "Always Shop",licenseType = "",
currency = "money",
hasOwner = false, -- when this is false you don't need all the config elements but dont forget to add on Config.ShowVehicle and Config.TransitionCamerasOffset
coords = {x = -74.93, y = -1116.35, z = 25.43},
sellVehicleCoords = {x = -70.91, y = -1123.73, z = 24.60},
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, textureDict = 0, textureName = 0},
radius = 1,
blip = {blipId = 225, blipColor = 3, blipScale = 0.9, blipText = "Vehicleshop"},
marker = {id = 20, color = {r = 31, g = 94, b = 255, a = 90}, size = {x = 0.5, y = 0.5, z = 0.5}, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0, textureDict = 0, textureName = 0},
type = "vehicles",
id = "alwaysshop1",
},
{
name = "Air Shop",
licenseType = "",
currency = "bank",
hasOwner = true,
coords = {x = -949.5, y = -2946.55, z = 13.95},
sellVehicleCoords = {x = -959.5, y = -2946.55, z = 12.76},
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, textureDict = 0, textureName = 0},
ownerCoords = {x = -941.51, y = -2955.03, z = 13.95},
spawnFlatbedPos = {x = -947.62, y = -2976.86, z = 13.95, h = 270.0},
towCoords = {bone = 'bodyshell', xPos = 0.0, yPos = -2.35, zPos = 1.0},
missionsVehicleSpawn = {
{x = -1835.77, y = 2979.52, z = 32.81, h = 100.0},
},
radius = 1,
price = 12000,
blip = {blipId = 64, blipColor = 3, blipScale = 0.9, blipText = "Air shop"},
ownerBlip = {blipId = 64, blipColor = 2, blipScale = 0.9, blipText = "Air shop Panel"},
buyBlip = {blipId = 64, blipColor = 1, blipScale = 0.9, blipText = "Air shop to buy"},
marker = {id = 20, color = {r = 31, g = 94, b = 255, a = 90}, size = {x = 0.5, y = 0.5, z = 0.5}, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0, textureDict = 0, textureName = 0},
ownerMarker = {id = 21, color = {r = 31, g = 94, b = 255, a = 90}, size = {x = 0.5, y = 0.5, z = 0.5}, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0, textureDict = 0, textureName = 0},
bigVehicles = true,
type = "air",
id = "air1",
},
{
name = "Water Shop",
licenseType = "boat",
currency = "bank",
hasOwner = true,
coords = {x = -720.77, y = -1324.92, z = 1.6},
sellVehicleCoords = {x = -721.56, y = -1306.7, z = 3.82},
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, textureDict = 0, textureName = 0},
ownerCoords = {x = -712.16, y = -1298.88, z = 5.1},
spawnFlatbedPos = {x = -719.77, y = -1286.15, z = 5.0, h = 120.0},
towCoords = {bone = 'bodyshell', xPos = 0.0, yPos = -2.35, zPos = 1.0},
missionsVehicleSpawn = {
{x = -758.15, y = -1488.26, z = 5.0, h = 280.0},
},
radius = 1,
price = 14000,
blip = {blipId = 427, blipColor = 3, blipScale = 0.9, blipText = "Water shop"},
ownerBlip = {blipId = 427, blipColor = 2, blipScale = 0.9, blipText = "Water shop Panel"},
buyBlip = {blipId = 427, blipColor = 1, blipScale = 0.9, blipText = "Water shop to buy"},
marker = {id = 20, color = {r = 31, g = 94, b = 255, a = 90}, size = {x = 0.5, y = 0.5, z = 0.5}, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0, textureDict = 0, textureName = 0},
ownerMarker = {id = 21, color = {r = 31, g = 94, b = 255, a = 90}, size = {x = 0.5, y = 0.5, z = 0.5}, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0, textureDict = 0, textureName = 0},
bigVehicles = true,
type = "water",
id = "water1",
这段代码看起来像是一个在FiveM中添加商店位置和相关信息的配置。代码中包含了三个商店的信息,分别是"Always Shop"、"Air Shop"和"Water Shop"。
其中包括了商店的名称、许可证类型、货币类型、坐标、出售车辆的坐标、出售车辆的标记、半径、标记、类型和ID等信息。
根据这段代码的特点,这是一段放在服务端脚本文件(server.lua)中的代码,用于添加和配置服务器上的商店信息。
页:
[1]