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

[有效回答] 请翻译以下内容为简体中文

[复制链接]
hlx 发表于 2024-3-27 14:33:10 | 显示全部楼层 |阅读模式

Config = {}
Config.UsingTarget = GetConvar('UseTarget', 'false') == 'true'
Config.Commission = 0.10 -- Percent that goes to sales person from a full car sale 10%
Config.FinanceCommission = 0.05 -- Percent that goes to sales person from a finance sale 5%
Config.FinanceZone = vector3(-29.53, -1103.67, 26.42)-- Where the finance menu is located
Config.PaymentWarning = 10 -- time in minutes that player has to make payment before repo
Config.PaymentInterval = 24 -- time in hours between payment being due
Config.MinimumDown = 10 -- minimum percentage allowed down
Config.MaximumPayments = 24 -- maximum payments allowed
Config.Shops = {
    ['pdm'] = {
        ['Type'] = 'free-use', -- no player interaction is required to purchase a car
        ['Zone'] = {
            ['Shape'] = {--polygon that surrounds the shop
                vector2(-56.727394104004, -1086.2325439453),
                vector2(-60.612808227539, -1096.7795410156),
                vector2(-58.26834487915, -1100.572265625),
                vector2(-35.927803039551, -1109.0034179688),
                vector2(-34.427627563477, -1108.5111083984),
                vector2(-32.02657699585, -1101.5877685547),
                vector2(-33.342102050781, -1101.0377197266),
                vector2(-31.292987823486, -1095.3717041016)
            },
            ['minZ'] = 25.0, -- min height of the shop zone
            ['maxZ'] = 28.0, -- max height of the shop zone
            ['size'] = 2.75 -- size of the vehicles zones
        },
        ['Job'] = 'none', -- Name of job or none
        ['ShopLabel'] = '本土车店', -- Blip name
        ['showBlip'] = true, -- true or false
        ['blipSprite'] = 326, -- Blip sprite
        ['blipColor'] = 3, -- Blip color
        ['Categories'] = {-- Categories available to browse
            ['jirou'] = '肌肉车',
            ['xxcl'] = '小型车',
            ['xxc'] = '厢型车',
        },
        ['TestDriveTimeLimit'] = 0.5, -- Time in minutes until the vehicle gets deleted
        ['Location'] = vector3(-45.67, -1098.34, 26.42), -- Blip Location
        ['ReturnLocation'] = vector3(-44.74, -1082.58, 26.68), -- Location to return vehicle, only enables if the vehicleshop has a job owned
        ['VehicleSpawn'] = vector4(-56.79, -1109.85, 26.43, 71.5), -- Spawn location when vehicle is bought
        ['TestDriveSpawn'] = vector4(-56.79, -1109.85, 26.43, 71.5), -- Spawn location for test drive
        ['ShowroomVehicles'] = {
            [1] = {
                coords = vector4(-47.25, -1092.1, 26.88, 231.23),
                defaultVehicle = 'issi3',
                chosenVehicle = 'issi3',
            },
            [2] = {
                coords = vector4(-55.01, -1096.45, 26.88, 267.91),
                defaultVehicle = 'chino',
                chosenVehicle = 'chino'
            },
            [3] = {
                coords = vector4(-41.96, -1101.69, 26.88, 66.22),
                defaultVehicle = 'pony',
                chosenVehicle = 'pony'
            },
            [4] = {
                coords = vector4(-36.69, -1093.55, 26.88, 109.27),
                defaultVehicle = 'gburrito',
                chosenVehicle = 'gburrito'
            },
            [5] = {
                coords = vector4(-49.66, -1083.69, 26.79, 232.14),
                defaultVehicle = 'pony',
                chosenVehicle = 'pony'
            }
        },
    },
    ['luxury'] = {
        ['Type'] = 'free-use', -- meaning a real player has to sell the car
        ['Zone'] = {
            ['Shape'] = {
                vector2(-1260.6973876953, -349.21334838867),
                vector2(-1268.6248779297, -352.87365722656),
                vector2(-1274.1533203125, -358.29794311523),
                vector2(-1273.8425292969, -362.73715209961),
                vector2(-1270.5701904297, -368.6716003418),
                vector2(-1266.0561523438, -375.14080810547),
                vector2(-1244.3684082031, -362.70278930664),
                vector2(-1249.8704833984, -352.03326416016),
                vector2(-1252.9503173828, -345.85726928711)
            },
            ['minZ'] = 36.646457672119,
            ['maxZ'] = 37.516143798828,
            ['size'] = 2.75 -- size of the vehicles zones
        },
        ['Job'] = 'none', -- Name of job or none
        ['ShopLabel'] = '进口车店',
        ['showBlip'] = true, -- true or false
        ['blipSprite'] = 326, -- Blip sprite
        ['blipColor'] = 3, -- Blip color
        ['Categories'] = {
            ['tt'] = '丰田',
            ['bt'] = '本田',
            ['mkl'] = '迈凯伦',
            ['bc'] = '奔驰',
            ['ad'] = '奥迪',
            ['ft'] = '福特',
            ['lh'] = '路虎',
            ['dz'] = '大众',
            ['bm'] = '宝马',
        },
        ['TestDriveTimeLimit'] = 0.4,
        ['Location'] = vector3(-1255.6, -361.16, 36.91),
        ['ReturnLocation'] = vector3(-1231.46, -349.86, 37.33),
        ['VehicleSpawn'] = vector4(-1267.2, -337.23, 36.35, 300.00),
        ['TestDriveSpawn'] = vector4(-1232.81, -347.99, 37.33, 23.28), -- Spawn location for test drive
        ['ShowroomVehicles'] = {
            [1] = {
                coords = vector4(-1265.31, -354.44, 35.91, 205.08),
                defaultVehicle = 'fortuner',
                chosenVehicle = 'fortuner'
            },
            [2] = {
                coords = vector4(-1270.06, -358.55, 35.91, 247.08),
                defaultVehicle = '23civichb',
                chosenVehicle = '23civichb'
            },
            [3] = {
                coords = vector4(-1269.21, -365.03, 35.91, 297.12),
                defaultVehicle = 'p1',
                chosenVehicle = 'p1'
            }
            -- [4] = {
            --     coords = vector4(-1252.07, -364.2, 35.91, 56.44),
            --     defaultVehicle = 'terzo',
            --     chosenVehicle = 'terzo'
            -- },
            -- [5] = {
            --     coords = vector4(-1255.49, -365.91, 35.91, 55.63),
            --     defaultVehicle = 'veneno',
            --     chosenVehicle = 'veneno'
            -- },
            -- [6] = {
            --     coords = vector4(-1249.21, -362.97, 35.91, 53.24),
            --     defaultVehicle = 'maj935',
            --     chosenVehicle = 'maj935'
            -- }
        }
    }, -- Add your next table under this comma
    ['boats'] = {
        ['Type'] = 'free-use', -- no player interaction is required to purchase a vehicle
        ['Zone'] = {
            ['Shape'] = {--polygon that surrounds the shop
                vector2(-729.39, -1315.84),
                vector2(-766.81, -1360.11),
                vector2(-754.21, -1371.49),
                vector2(-716.94, -1326.88)
            },
            ['minZ'] = 0.0, -- min height of the shop zone
            ['maxZ'] = 5.0, -- max height of the shop zone
            ['size'] = 6.2 -- size of the vehicles zones
        },
        ['Job'] = 'none', -- Name of job or none
        ['ShopLabel'] = '码头商店', -- Blip name
        ['showBlip'] = true, -- true or false
        ['blipSprite'] = 410, -- Blip sprite
        ['blipColor'] = 3, -- Blip color
        ['Categories'] = {-- Categories available to browse
            ['boats'] = 'Boats'
        },
        ['TestDriveTimeLimit'] = 1.5, -- Time in minutes until the vehicle gets deleted
        ['Location'] = vector3(-738.25, -1334.38, 1.6), -- Blip Location
        ['ReturnLocation'] = vector3(-714.34, -1343.31, 0.0), -- Location to return vehicle, only enables if the vehicleshop has a job owned
        ['VehicleSpawn'] = vector4(-727.87, -1353.1, -0.17, 137.09), -- Spawn location when vehicle is bought
        ['ShowroomVehicles'] = {
            [1] = {
                coords = vector4(-727.05, -1326.59, 0.00, 229.5), -- where the vehicle will spawn on display
                defaultVehicle = 'seashark', -- Default display vehicle
                chosenVehicle = 'seashark' -- Same as default but is dynamically changed when swapping vehicles
            },
            [2] = {
                coords = vector4(-732.84, -1333.5, -0.50, 229.5),
                defaultVehicle = 'dinghy',
                chosenVehicle = 'dinghy'
            },
            [3] = {
                coords = vector4(-737.84, -1340.83, -0.50, 229.5),
                defaultVehicle = 'speeder',
                chosenVehicle = 'speeder'
            },
            [4] = {
                coords = vector4(-741.53, -1349.7, -2.00, 229.5),
                defaultVehicle = 'marquis',
                chosenVehicle = 'marquis'
            },
        },
    },
    ['air'] = {
        ['Type'] = 'free-use', -- no player interaction is required to purchase a vehicle
        ['Zone'] = {
            ['Shape'] = {--polygon that surrounds the shop
                vector2(-1607.58, -3141.7),
                vector2(-1672.54, -3103.87),
                vector2(-1703.49, -3158.02),
                vector2(-1646.03, -3190.84)
            },
            ['minZ'] = 12.99, -- min height of the shop zone
            ['maxZ'] = 16.99, -- max height of the shop zone
            ['size'] = 7.0, -- size of the vehicles zones
        },
        ['Job'] = 'none', -- Name of job or none
        ['ShopLabel'] = '飞机店', -- Blip name
        ['showBlip'] = true, -- true or false
        ['blipSprite'] = 251, -- Blip sprite
        ['blipColor'] = 3, -- Blip color
        ['Categories'] = {-- Categories available to browse
            ['helicopters'] = 'Helicopters',
            ['planes'] = 'Planes'
        },
        ['TestDriveTimeLimit'] = 1.5, -- Time in minutes until the vehicle gets deleted
        ['Location'] = vector3(-1652.76, -3143.4, 13.99), -- Blip Location
        ['ReturnLocation'] = vector3(-1628.44, -3104.7, 13.94), -- Location to return vehicle, only enables if the vehicleshop has a job owned
        ['VehicleSpawn'] = vector4(-1617.49, -3086.17, 13.94, 329.2), -- Spawn location when vehicle is bought
        ['ShowroomVehicles'] = {
            [1] = {
                coords = vector4(-1651.36, -3162.66, 12.99, 346.89), -- where the vehicle will spawn on display
                defaultVehicle = 'volatus', -- Default display vehicle
                chosenVehicle = 'volatus' -- Same as default but is dynamically changed when swapping vehicles
            },
            [2] = {
                coords = vector4(-1668.53, -3152.56, 12.99, 303.22),
                defaultVehicle = 'luxor2',
                chosenVehicle = 'luxor2'
            },
            [3] = {
                coords = vector4(-1632.02, -3144.48, 12.99, 31.08),
                defaultVehicle = 'nimbus',
                chosenVehicle = 'nimbus'
            },
            [4] = {
                coords = vector4(-1663.74, -3126.32, 12.99, 275.03),
                defaultVehicle = 'frogger',
                chosenVehicle = 'frogger'
            },
        },
    },
}


回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-3-27 14:34:16 | 显示全部楼层
Config = {}
Config.UsingTarget = GetConvar('UseTarget', 'false') == 'true'
Config.Commission = 0.10 -- 从整车销售中归销售员的百分比,10%
Config.FinanceCommission = 0.05 -- 从融资销售中归销售员的百分比,5%
Config.FinanceZone = vector3(-29.53, -1103.67, 26.42) -- 融资菜单所在位置
Config.PaymentWarning = 10 -- 玩家付款前的时间(分钟)
Config.PaymentInterval = 24 -- 付款到期时间(小时)
Config.MinimumDown = 10 -- 最小首付百分比
Config.MaximumPayments = 24 -- 允许的最大分期数
Config.Shops = {
    ['pdm'] = {
        ['Type'] = 'free-use', -- 购买车辆无需玩家互动
        ['Zone'] = {
            ['Shape'] = {-- 车店的多边形
                vector2(-56.727394104004, -1086.2325439453),
                vector2(-60.612808227539, -1096.7795410156),
                vector2(-58.26834487915, -1100.572265625),
                vector2(-35.927803039551, -1109.0034179688),
                vector2(-34.427627563477, -1108.5111083984),
                vector2(-32.02657699585, -1101.5877685547),
                vector2(-33.342102050781, -1101.0377197266),
                vector2(-31.292987823486, -1095.3717041016)
            },
            ['minZ'] = 25.0, -- 车店区域最低高度
            ['maxZ'] = 28.0, -- 车店区域最高高度
            ['size'] = 2.75 -- 车辆区域大小
        },
        ['Job'] = 'none', -- 工作名称或无工作
        ['ShopLabel'] = '本土车店', -- 地图标记名称
        ['showBlip'] = true, -- 是否显示地图标记,true or false
        ['blipSprite'] = 326, -- 地图标记图标
        ['blipColor'] = 3, -- 地图标记颜色
        ['Categories'] = {-- 可供浏览的车辆类别
            ['jirou'] = '肌肉车',
            ['xxcl'] = '小型车',
            ['xxc'] = '厢型车',
        },
        ['TestDriveTimeLimit'] = 0.5, -- 测试驾驶时间限制(分钟)
        ['Location'] = vector3(-45.67, -1098.34, 26.42), -- 地图标记位置
        ['ReturnLocation'] = vector3(-44.74, -1082.58, 26.68), -- 返还车辆的位置,只在车辆商店拥有工作时启用
        ['VehicleSpawn'] = vector4(-56.79, -1109.85, 26.43, 71.5), -- 购买车辆时的生成位置
        ['TestDriveSpawn'] = vector4(-56.79, -1109.85, 26.43, 71.5), -- 测试驾驶的生成位置
        ['ShowroomVehicles'] = {
            [1] = {
                coords = vector4(-47.25, -1092.1, 26.88, 231.23),
                defaultVehicle = 'issi3',
                chosenVehicle = 'issi3',
            },
            [2] = {
                coords = vector4(-55.01, -1096.45, 26.88, 267.91),
                defaultVehicle = 'chino',
                chosenVehicle = 'chino'
            },
            [3] = {
                coords = vector4(-41.96, -1101.69, 26.88, 66.22),
                defaultVehicle = 'pony',
                chosenVehicle = 'pony'
            },
            [4] = {
                coords = vector4(-36.69, -1093.55, 26.88, 109.27),
                defaultVehicle = 'gburrito',
                chosenVehicle = 'gburrito'
            },
            [5] = {
                coords = vector4(-49.66, -1083.69, 26.79, 232.14),
                defaultVehicle = 'pony',
                chosenVehicle = 'pony'
            }
        },
    },
    ['luxury'] = {
        ['Type'] = 'free-use', -- 需要真实玩家销售汽车
        ['Zone'] = {
            ['Shape'] = {
                vector2(-1260.6973876953, -349.21334838867),
                vector2(-1268.6248779297, -352.87365722656),
                vector2(-1274.1533203125, -358.29794311523),
                vector2(-1273.8425292969, -362.73715209961),
                vector2(-1270.5701904297, -368.6716003418),
                vector2(-1266.0561523438, -375.14080810547),
                vector2(-1244.3684082031, -362.70278930664),
                vector2(-1249.8704833984, -352.03326416016),
                vector2(-1252.9503173828, -345.85726928711)
            },
            ['minZ'] = 36.646457672119,
            ['maxZ'] = 37.516143798828,
            ['size'] = 2.75 -- 车辆区域大小
        },
        ['Job'] = 'none', -- 工作名称或无工作
        ['ShopLabel'] = '进口车店',
        ['showBlip'] = true, -- 是否显示地图标记,true or false
        ['blipSprite'] = 326, -- 地图标记图标
        ['blipColor'] = 3, -- 地图标记颜色
        ['Categories'] = {
            ['tt'] = '丰田',
            ['bt'] = '本田',
            ['mkl'] = '迈凯伦',
            ['bc'] = '奔驰',
            ['ad'] = '奥迪',
            ['ft'] = '福特',
            ['lh'] = '路虎',
            ['dz'] = '大众',
            ['bm'] = '宝马',
        },
        ['TestDriveTimeLimit'] = 0.4,
        ['Location'] = vector3(-1255.6, -361.16, 36.91),
        ['ReturnLocation'] = vector3(-1231.46, -349.86, 37.33),
        ['VehicleSpawn'] = vector4(-1267.2, -337.23, 36.35, 300.00),
        ['TestDriveSpawn'] = vector4(-1232.81, -347.99, 37.33, 23.28), -- 测试驾驶的生成位置
        ['ShowroomVehicles'] = {
            [1] = {
                coords = vector4(-1265.31, -354.44, 35.91, 205.08),
                defaultVehicle = 'fortuner',
                chosenVehicle = 'fortuner'
            },
            [2] = {
                coords = vector4(-1270.06, -358.55, 35.91, 247.08),
                defaultVehicle = '23civichb',
                chosenVehicle = '23civichb'
            },
            [3] = {
                coords = vector4(-1269.21, -365.03, 35.91, 297.12),
                defaultVehicle = 'p1',
                chosenVehicle = 'p1'
            }
            --  = {
            --     coords = vector4(-1252.07, -364.2, 35.91, 56.44),
            --     defaultVehicle = 'terzo',
            --     chosenVehicle = 'terzo'
            -- },
            --  = {
            --     coords = vector4(-1255.49, -365.91, 35.91, 55.63),
            --     defaultVehicle = 'veneno',
            --     chosenVehicle = 'veneno'
            -- },
            --  = {
            --     coords = vector4(-1249.21, -362.97, 35.91, 53.24),
            --     defaultVehicle = 'maj935',
            --     chosenVehicle = 'maj935'
            -- }
        }
    }, -- 在这个逗号下面添加下一个表
    ['boats'] = {
        ['Type'] = 'free-use', -- 购买车辆无需玩家互动
        ['Zone'] = {
            ['Shape'] = {--车店的多边形
                vector2(-729.39, -1315.84),
                vector2(-766.81, -1360.11),
                vector2(-754.21, -1371.49),
                vector2(-716.94, -1326.88)
            },
            ['minZ'] = 0.0, -- 车店区域最低高度
            ['maxZ'] = 5.0, -- 车店区域最高高度
            ['size'] = 6.2 -- 车辆区域大小
        },
        ['Job'] = 'none', -- 工作名称或无工作
        ['ShopLabel'] = '码头商店', -- 地图标记名称
        ['showBlip'] = true, -- 是否显示地图标记,true or false
        ['blipSprite'] = 410, -- 地图标记图标
        ['blipColor'] = 3, -- 地图标记颜色
        ['Categories'] = {-- 可供浏览的车辆类别
            ['boats'] = '船'
        },
        ['TestDriveTimeLimit'] = 1.5, -- 测试驾驶时间限制(分钟)
        ['Location'] = vector3(-738.25, -1334.38, 1.6), -- 地图标记位置
        ['ReturnLocation'] = vector3(-714.34, -1343.31, 0.0), -- 返还车辆的位置,只在车辆商店拥有工作时启用
        ['VehicleSpawn'] = vector4(-727.87, -1353.1, -0.17, 137.09), -- 购买车辆时的生成位置
        ['ShowroomVehicles'] = {
            [1] = {
                coords = vector4(-727.05, -1326.59, 0.00, 229.5), -- 车辆展示时的生成位置
                defaultVehicle = 'seashark', -- 默认展示车辆
                chosenVehicle = 'seashark' -- 和默认车辆相同,但在更换车辆时会动态改变
            },
            [2] = {
                coords = vector4(-732.84, -1333.5, -0.50, 229.5),
                defaultVehicle = 'dinghy',
                chosenVehicle = 'dinghy'
            },
            [3] = {
                coords = vector4(-737.84, -1340.83, -0.50, 229.5),
                defaultVehicle = 'speeder',
                chosenVehicle = 'speeder'
            },
            [4] = {
                coords = vector4(-741.53, -1349.7, -2.00, 229.5),
                defaultVehicle = 'marquis',
                chosenVehicle = 'marquis'
            },
        },
    },
    ['air'] = {
        ['Type'] = 'free-use', -- 购买车辆无需玩家互动
        ['Zone'] = {
            ['Shape'] = {--车店的多边形
                vector2(-1607.58, -3141.7),
                vector2(-1672.54, -3103.87),
                vector2(-1703.49, -3158.02),
                vector2(-1646.03, -3190.84)
            },
            ['minZ'] = 12.99, -- 车店区域最低高度
            ['maxZ'] = 16.99, -- 车店区域最高高度
            ['size'] = 7.0, -- 车辆区域大小
        },
        ['Job'] = 'none', -- 工作名称或无工作
        ['ShopLabel'] = '飞机店', -- 地图标记名称
        ['showBlip'] = true, -- 是否显示地图标记,true or false
        ['blipSprite'] = 251, -- 地图标记图标
        ['blipColor'] = 3, -- 地图标记颜色
        ['Categories'] = {-- 可供浏览的车辆类别
            ['helicopters'] = '直升机',
            ['planes'] = '飞机'
        },
        ['TestDriveTimeLimit'] = 1.5, -- 测试驾驶时间限制(分钟)
        ['Location'] = vector3(-1652.76, -3143.4, 13.99), -- 地图标记位置
        ['ReturnLocation'] = vector3(-1628.44, -3104.7, 13.94), -- 返还车辆的位置,只在车辆商店拥有工作时启用
        ['VehicleSpawn'] = vector4(-1617.49, -3086.17, 13.94, 329.2), -- 购买车辆时的生成位置
        ['ShowroomVehicles'] = {
            [1] = {
                coords = vector4(-1651.36, -3162.66, 12.99, 346.89), -- 车辆展示时的生成位置
                defaultVehicle = 'volatus', -- 默认展示车辆
                chosenVehicle = 'volatus' -- 和默认车辆相同,但在更换车辆时会动态改变
            },
            [2] = {
                coords = vector4(-1668.53, -3152.56, 12.99, 303.22),
                defaultVehicle = 'luxor2',
                chosenVehicle = 'luxor2'
            },
            [3] = {
                coords = vector4(-1632.02, -3144.48, 12.99, 31.08),
                defaultVehicle = 'nimbus',
                chosenVehicle = 'nimbus'
            },
            [4] = {
                coords = vector4(-1663.74, -3126.32, 12.99, 275.03),
                defaultVehicle = 'frogger',
                chosenVehicle = 'frogger'
            },
        },
    },
}
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-16 05:38 , Processed in 0.211964 second(s), 26 queries .

Powered by Discuz! X3.4

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

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