搜索
开启左侧

翻译

[复制链接]
1214570993 发表于 2024-9-23 20:55:08 | 显示全部楼层 |阅读模式

-----------------For support, scripts, and more----------------
--------------- https://discord.gg/wasabiscripts  -------------
---------------------------------------------------------------
local seconds, minutes = 1000, 60000
Config = {}

Config.jobMenu = 'F6' -- Default job menu key

Config.customCarlock = false -- If you use wasabi_carlock(Add your own carlock system in client/cl_customize.lua)
Config.billingSystem = 'okok' -- Current options: 'esx' (For esx_billing) / 'okok' (For okokBilling) (Easy to add more/fully customize in client/cl_customize.lua)
Config.skinScript = 'appearance' -- Current options: 'esx' (For esx_skin) / 'appearance' (For wasabi-fivem-appearance) (Custom can be added in client/cl_customize.lua)
Config.customJail = true -- Set to true if you want to add jail option to menu(Requires you to edit wasabi_police:sendToJail event in client/cl_customize.lua)

Config.inventory = 'ox' -- NEEDED FOR SEARCHING PLAYERS - Current options: 'ox' (For ox_inventory) / 'mf' (For mf inventory) / 'qs' (For qs_inventory) / 'cheeza' (For cheeza_inventory) / 'custom' (Custom can be added in client/cl_customize.lua)
Config.searchPlayers = true -- Allow police jobs to search players (Must set correct inventory above)

Config.weaponsAsItems = true -- This is typically for older ESX and inventories that still use weapons as weapons and not items(If you're unsure leave as true!)
Config.esxIdentity = true -- Enable to gain option additional information when checking ID of suspect. (Requires esx_identity/esx_status or similar)
Config.esxLicense = true -- Enable if you use esx_license or something similar for weapon licenses/etc (May require additional config of the open portions of code)

Config.spikeStripsEnabled = true -- Enable functionility of spike strips (Disable if you use difference script for spike strips)

Config.tackle = {
    enabled = true, -- Enable tackle?
    policeOnly = true, -- Police jobs only use tackle?
    hotkey = 'G' -- What key to press while sprinting to start tackle of target
}

Config.handcuff = { -- Config in regards to cuffing
    timer = 20 * minutes, -- Time before player is automatically unrestrained(Set to false if not desired)
    hotkey = 'J', -- What key to press to handcuff people(Set to false for no hotkey)
    skilledEscape = {
        enabled = false, -- Allow criminal to simulate resisting by giving them a chance to break free from cuffs via skill check
        difficulty = {'easy', 'easy', 'easy'} -- Options: 'easy' / 'medium' / 'hard' (Can be stringed along as they are in config)
    }
}

Config.policeJobs = { -- Police jobs
    'police'
}

Config.Props = { -- What props are avaliable in the "Place Objects" section of the job menu

    {
        title = '栅栏1', -- Label
        description = '', -- Description (optional)
        model = `prop_barrier_work05`, -- Prop name within `
        groups = { -- ['job_name'] = min_rank
            ['police'] = 0,
        }
    },
    {
        title = '栅栏2',
        description = '',
        model = `prop_mp_barrier_01`,
        groups = {
            ['police'] = 0,
        }
    },
    {
        title = '交通锥体',
        description = '',
        model = `prop_roadcone02a`,
        groups = {
            ['police'] = 0,
        }
    },
    {
        title = '地刺',
        description = '',
        model = `p_ld_stinger_s`,
        groups = {
            ['police'] = 1,
        }
    },

}

Config.Locations = {
    LSPD = {
        blip = {
            enabled = true,
            coords = vec3(464.57, -992.0, 30.69),
            sprite = 60,
            color = 29,
            scale = 1.0,
            string = '警察局'
        },

        bossMenu = {
            enabled = true, -- Enable boss menu?
            jobLock = 'police', -- Lock to specific police job? Set to false if not desired
            coords = vec3(459.76, -985.70, 30.72), -- Location of boss menu (If not using target)
            label = '[E] - 打开管理菜单', -- Text UI label string (If not using target)
            distance = 3.0, -- Distance to allow access/prompt with text UI (If not using target)
            target = {
                enabled = false, -- If enabled, the location and distance above will be obsolete
                label = '打开管理菜单',
                coords = vec3(461.6199951171875, -986.1400146484376, 31.2800006866455),
                heading = 148.95,
                width = 2.0,
                length = 1.0,
                minZ = 29.73-0.9,
                maxZ = 31.73+0.9
            }
        },

        armoury = {
            enabled = false, -- Set to false if you don't want to use
            coords = vec3(485.3999938964844, -995.2000122070312, 30.69000053405761-0.5), -- Coords of armoury
            heading = 88.24, -- Heading of armoury NPC
            ped = 's_f_y_cop_01',
            label = '[E] - 访问军火库', -- String of text ui
            jobLock = 'police', -- Allow only one of Config.policeJob listings / Set to false if allow all Config.policeJobs
            weapons = {
                [0] = { -- Grade number will be the name of each table(this would be grade 0)
                    ['WEAPON_PISTOL'] = { label = 'Pistol', multiple = false, price = 75 }, -- Set price to false if undesired
                    ['WEAPON_NIGHTSTICK'] = { label = 'Night Stick', multiple = false, price = 50 },
--                    ['ammo-9'] = { label = '9mm Ammo', multiple = true, price = 10 }, -- Set multiple to true if you want ability to purchase more than one at a time
--                    ['armour'] = { label = 'Bulletproof Vest', multiple = false, price = 100 }, -- Example

                },
                [1] = { -- This would be grade 1
                    ['WEAPON_COMBATPISTOL'] = { label = 'Combat Pistol', multiple = false, price = 150 },
                    ['WEAPON_NIGHTSTICK'] = { label = 'Night Stick', multiple = false, price = 50 },
--                    ['ammo-9'] = { label = '9mm Ammo', multiple = true, price = 10 }, -- Example
--                    ['armour'] = { label = 'Bulletproof Vest', multiple = false, price = 100 }, -- Example
                },
                [2] = { -- This would be grade 2
                    ['WEAPON_COMBATPISTOL'] = { label = 'Combat Pistol', multiple = false, price = 150 },
                    ['WEAPON_NIGHTSTICK'] = { label = 'Night Stick', multiple = false, price = 50 },
                    ['WEAPON_ASSAULTRIFLE'] = { label = 'Assault Rifle', multiple = false, price = 1100 },
--                    ['ammo-9'] = { label = '9mm Ammo', multiple = true, price = 10 }, -- Example
--                    ['ammo-rifle'] = { label = '5.56 Ammo', multiple = true, price = 20 }, -- Example
--                    ['armour'] = { label = 'Bulletproof Vest', multiple = false, price = 100 }, -- Example
                },
                [3] = { -- This would be grade 3
                    ['WEAPON_COMBATPISTOL'] = { label = 'Combat Pistol', multiple = false, price = 150 },
                    ['WEAPON_NIGHTSTICK'] = { label = 'Night Stick', multiple = false, price = 50 },
                    ['WEAPON_ASSAULTRIFLE'] = { label = 'Assault Rifle', multiple = false, price = 1100 },
              --    ['ammo-9'] = { label = '9mm Ammo', multiple = true, price = 10 }, -- Example
              --    ['ammo-rifle'] = { label = '5.56 Ammo', multiple = true, price = 20 }, -- Example
              --    ['armour'] = { label = 'Bulletproof Vest', multiple = false, price = 100 }, -- Example
                },
            }
        },

        cloakroom = {
            enabled = true, -- Set to false if you don't want to use (Compatible with esx_skin & wasabi fivem-appearance fork)
            jobLock = 'police', -- Allow only one of Config.policeJob listings / Set to false if allow all Config.policeJobs
            coords = vec3(460.2900085449219, -999.02001953125, 30.69000053405761), -- Coords of cloakroom
            label = '[E] - 打开更衣室', -- String of text ui of cloakroom
            range = 2.0, -- Range away from coords you can use.
            target = {
                enabled = false, -- If enabled, the location and distance above will be obsolete
                label = '打开更衣室',
                coords = vec3(460.2900085449219, -999.02001953125, 30.69000053405761),
                heading = 269.85,
                width = 2.0,
                length = 1.0,
                minZ = 30.73-0.9,
                maxZ = 30.73+0.9
            },
            uniforms = { -- Uniform choices

                [1] = { -- Name of outfit that will display in menu
                    label = '常服',
                    male = { -- Male variation
                        ['tshirt_1'] = 0,  ['tshirt_2'] = 0,
                        ['torso_1'] = 265,   ['torso_2'] = 0,
                        ['decals_1'] = 1,   ['decals_2'] = 0,
                        ['arms'] = 0,
                        ['pants_1'] = 4,   ['pants_2'] = 0,
                        ['shoes_1'] = 10,   ['shoes_2'] = 0,
                        ['helmet_1'] = -1,  ['helmet_2'] = 0,
                        ['bproof_1'] = 7, ['bproof_2'] = 0,
                        ['chain_1'] = 6, ['chain_2'] = 0,
                        ['bags_1'] = 40,   ['bags_2'] = 0,
                    },
                    female = { -- Female variation
                        ['tshirt_1'] = 2,  ['tshirt_2'] = 0,
                        ['torso_1'] = 93,   ['torso_2'] = 0,
                        ['decals_1'] = 14,   ['decals_2'] = 0,
                        ['arms'] = 14,
                        ['pants_1'] = 90,   ['pants_2'] = 2,
                        ['shoes_1'] = 25,   ['shoes_2'] = 0,
                    }
                },

                [2] = {
                    label = 'SWAT',
                    male = {
                        ['mask_1'] = 40,   ['mask_2'] = 0,
                        ['tshirt_1'] = 15,  ['tshirt_2'] = 0,
                        ['torso_1'] = 222,   ['torso_2'] = 0,
                        ['decals_1'] = 0,   ['decals_2'] = 0,
                        ['arms'] = 14,
                        ['pants_1'] = 160,   ['pants_2'] = 0,
                        ['shoes_1'] = 118,   ['shoes_2'] = 0,
                        ['bproof_1'] = 44, ['bproof_2'] = 0,
                        ['chain_1'] = 6, ['chain_2'] = 0,
                        ['bags_1'] = 0,   ['bags_2'] = 0,
                        ['helmet_1'] = 185,  ['helmet_2'] = 0,
                        ['glass_1'] = 66,  ['glass_2'] = 0,
                    },
                    female = {
                        ['tshirt_1'] = 42,  ['tshirt_2'] = 0,
                        ['masks_1'] = 35,   ['masks_2'] = 0,
                        ['torso_1'] = 4,   ['torso_2'] = 14,
                        ['decals_1'] = 3,   ['decals_2'] = 0,
                        ['arms'] = 111,
                        ['bproof_1'] = 18, ['bproof_2'] = 0,
                        ['pants_1'] = 30,   ['pants_2'] = 0,
                        ['chain_1'] = 81, ['chain_2'] = 0,
                        ['bags_1'] = 48,   ['bags_2'] = 0,
                        ['shoes_1'] = 25,   ['shoes_2'] = 4,
                    }
                },
               
            }

        },

        vehicles = { -- Vehicle Garage
            enabled = false, -- Enable? False if you have you're own way for medics to obtain vehicles.
            jobLock = 'police', -- Job lock? or access to all police jobs by using false
            zone = {
                coords = vec3(463.69, -1019.72, 28.1), -- Area to prompt vehicle garage
                range = 5.5, -- Range it will prompt from coords above
                label = '[E] - 打开车库',
                return_label = '[E] - 存放车辆'
            },
            spawn = {
                land = {
                    coords = vec3(449.37, -1025.46, 28.59), -- Coords of where land vehicle spawn/return
                    heading = 3.68
                },
                air = {
                    coords = vec3(449.29, -981.76, 43.69), -- Coords of where air vehicles spawn/return
                    heading =  0.01
                }
            },
            options = {

                [0] = { -- Job grade as table name
                    ['police'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Police Cruiser',
                        category = 'land', -- Options are 'land' and 'air'
                    },
                    ['police2'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Police Cruiser #2',
                        category = 'land', -- Options are 'land' and 'air'
                    },
                    ['polmav'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Maverick',
                        category = 'air', -- Options are 'land' and 'air'
                    },
                },

                [1] = { -- Job grade as table name
                    ['police'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Police Cruiser',
                        category = 'land', -- Options are 'land' and 'air'
                    },
                    ['police2'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Police Cruiser #2',
                        category = 'land', -- Options are 'land' and 'air'
                    },
                    ['polmav'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Maverick',
                        category = 'air', -- Options are 'land' and 'air'
                    },
                },

                [2] = { -- Job grade as table name
                    ['police'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Police Cruiser',
                        category = 'land', -- Options are 'land' and 'air'
                    },
                    ['police2'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Police Cruiser #2',
                        category = 'land', -- Options are 'land' and 'air'
                    },
                    ['polmav'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Maverick',
                        category = 'air', -- Options are 'land' and 'air'
                    },
                },

                [3] = { -- Job grade as table name
                    ['police'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Police Cruiser',
                        category = 'land', -- Options are 'land' and 'air'
                    },
                    ['police2'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Police Cruiser #2',
                        category = 'land', -- Options are 'land' and 'air'
                    },
                    ['polmav'] = { -- Car/Helicopter/Vehicle Spawn Code/Model Name
                        label = 'Maverick',
                        category = 'air', -- Options are 'land' and 'air'
                    },
                },

            }
        }

    },

}



回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-9-23 21:01:55 | 显示全部楼层
以下是您提供的代码的中文翻译:

-----------------支持、脚本及更多----------------
--------------- https://discord.gg/wasabiscripts  -------------
---------------------------------------------------------------
local seconds, minutes = 1000, 60000
Config = {}

Config.jobMenu = 'F6' -- 默认工作菜单键

Config.customCarlock = false -- 如果您使用 wasabi_carlock(在 client/cl_customize.lua 中添加您自己的车锁系统)
Config.billingSystem = 'okok' -- 当前选项:'esx'(用于 esx_billing)/ 'okok'(用于 okokBilling)(可以在 client/cl_customize.lua 中轻松添加更多/完全自定义)
Config.skinScript = 'appearance' -- 当前选项:'esx'(用于 esx_skin)/ 'appearance'(用于 wasabi-fivem-appearance)(可以在 client/cl_customize.lua 中添加自定义)
Config.customJail = true -- 如果您想在菜单中添加监狱选项,请设置为 true(需要您在 client/cl_customize.lua 中编辑 wasabi_police:sendToJail 事件)

Config.inventory = 'ox' -- 搜索玩家所需 - 当前选项:'ox'(用于 ox_inventory)/ 'mf'(用于 mf inventory)/ 'qs'(用于 qs_inventory)/ 'cheeza'(用于 cheeza_inventory)/ 'custom'(可以在 client/cl_customize.lua 中添加自定义)
Config.searchPlayers = true -- 允许警察工作搜索玩家(必须在上面设置正确的库存)

Config.weaponsAsItems = true -- 这通常适用于较旧的 ESX 和仍将武器视为武器而非物品的库存(如果不确定,请保持为 true!)
Config.esxIdentity = true -- 启用以在检查嫌疑人 ID 时获取额外信息的选项。(需要 esx_identity/esx_status 或类似的)
Config.esxLicense = true -- 如果您使用 esx_license 或类似的武器许可证等,请启用(可能需要额外配置代码的开放部分)

Config.spikeStripsEnabled = true -- 启用钉刺的功能(如果您使用不同的脚本来处理钉刺,请禁用)

Config.tackle = {
    enabled = true, -- 启用铲球?
    policeOnly = true, -- 仅警察工作使用铲球?
    hotkey = 'G' -- 在冲刺时按下哪个键以开始铲球目标
}

Config.handcuff = { -- 关于手铐的配置
    timer = 20 * minutes, -- 玩家自动解除约束前的时间(如果不需要,请设置为 false)
    hotkey = 'J', -- 按哪个键来给人上手铐(如果不需要热键,请设置为 false)
    skilledEscape = {
        enabled = false, -- 允许罪犯通过技能检查模拟抵抗,给他们机会从手铐中挣脱
        difficulty = {'easy', 'easy', 'easy'} -- 选项:'easy' / 'medium' / 'hard'(可以像配置中那样串联)
    }
}

Config.policeJobs = { -- 警察工作
    'police'
}

Config.Props = { -- 在工作菜单的“放置物体”部分可用的道具

    {
        title = '栅栏1', -- 标签
        description = '', -- 描述(可选)
        model = `prop_barrier_work05`, -- 道具名称
        groups = { --  = min_rank
            ['police'] = 0,
        }
    },
    {
        title = '栅栏2',
        description = '',
        model = `prop_mp_barrier_01`,
        groups = {
            ['police'] = 0,
        }
    },
    {
        title = '交通锥体',
        description = '',
        model = `prop_roadcone02a`,
        groups = {
            ['police'] = 0,
        }
    },
    {
        title = '地刺',
        description = '',
        model = `p_ld_stinger_s`,
        groups = {
            ['police'] = 1,
        }
    },

}

Config.Locations = {
    LSPD = {
        blip = {
            enabled = true,
            coords = vec3(464.57, -992.0, 30.69),
            sprite = 60,
            color = 29,
            scale = 1.0,
            string = '警察局'
        },

        bossMenu = {
            enabled = true, -- 启用老板菜单?
            jobLock = 'police', -- 锁定到特定警察工作?如果不需要,请设置为 false
            coords = vec3(459.76, -985.70, 30.72), -- 老板菜单的位置(如果不使用目标)
            label = ' - 打开管理菜单', -- 文本 UI 标签字符串(如果不使用目标)
            distance = 3.0, -- 允许访问/提示文本 UI 的距离(如果不使用目标)
            target = {
                enabled = false, -- 如果启用,上面的地点和距离将失效
                label = '打开管理菜单',
                coords = vec3(461.6199951171875, -986.1400146484376, 31.2800006866455),
                heading = 148.95,
                width = 2.0,
                length = 1.0,
                minZ = 29.73-0.9,
                maxZ = 31.73+0.9
            }
        },

        armoury = {
            enabled = false, -- 如果不想使用,请设置为 false
            coords = vec3(485.3999938964844, -995.2000122070312, 30.69000053405761-0.5), -- 军火库的坐标
            heading = 88.24, -- 军火库 NPC 的朝向
            ped = 's_f_y_cop_01',
            label = ' - 访问军火库', -- 文本 UI 字符串
            jobLock = 'police', -- 仅允许 Config.policeJob 列表中的一个 / 如果允许所有 Config.policeJobs,请设置为 false
            weapons = {
                [0] = { -- 等级编号将是每个表的名称(这将是等级 0)
                    ['WEAPON_PISTOL'] = { label = '手枪', multiple = false, price = 75 }, -- 如果不需要,请将价格设置为 false
                    ['WEAPON_NIGHTSTICK'] = { label = '警棍', multiple = false, price = 50 },
                },
                [1] = { -- 这将是等级 1
                    ['WEAPON_COMBATPISTOL'] = { label = '战斗手枪', multiple = false, price = 150 },
                    ['WEAPON_NIGHTSTICK'] = { label = '警棍', multiple = false, price = 50 },
                },
                [2] = { -- 这将是等级 2
                    ['WEAPON_COMBATPISTOL'] = { label = '战斗手枪', multiple = false, price = 150 },
                    ['WEAPON_NIGHTSTICK'] = { label = '警棍', multiple = false, price = 50 },
                    ['WEAPON_ASSAULTRIFLE'] = { label = '突击步枪', multiple = false, price = 1100 },
                },
                [3] = { -- 这将是等级 3
                    ['WEAPON_COMBATPISTOL'] = { label = '战斗手枪', multiple = false, price = 150 },
                    ['WEAPON_NIGHTSTICK'] = { label = '警棍', multiple = false, price = 50 },
                    ['WEAPON_ASSAULTRIFLE'] = { label = '突击步枪', multiple = false, price = 1100 },
                },
            }
        },

        cloakroom = {
            enabled = true, -- 如果不想使用,请设置为 false(与 esx_skin 和 wasabi fivem-appearance fork 兼容)
            jobLock = 'police', -- 仅允许 Config.policeJob 列表中的一个 / 如果允许所有 Config.policeJobs,请设置为 false
            coords = vec3(460.2900085449219, -999.02001953125, 30.69000053405761), -- 更衣室的坐标
            label = ' - 打开更衣室', -- 更衣室的文本 UI 字符串
            range = 2.0, -- 可以使用的范围。
            target = {
                enabled = false, -- 如果启用,上面的地点和距离将失效
                label = '打开更衣室',
                coords = vec3(460.2900085449219, -999.02001953125, 30.69000053405761),
                heading = 269.85,
                width = 2.0,
                length = 1.0,
                minZ = 30.73-0.9,
                maxZ = 30.73+0.9
            },
            uniforms = { -- 制服选择

                [1] = { -- 在菜单中显示的服装名称
                    label = '常服',
                    male = { -- 男性变体
                        ['tshirt_1'] = 0,  ['tshirt_2'] = 0,
                        ['torso_1'] = 265,   ['torso_2'] = 0,
                        ['decals_1'] = 1,   ['decals_2'] = 0,
                        ['arms'] = 0,
                        ['pants_1'] = 4,   ['pants_2'] = 0,
                        ['shoes_1'] = 10,   ['shoes_2'] = 0,
                        ['helmet_1'] = -1,  ['helmet_2'] = 0,
                        ['bproof_1'] = 7, ['bproof_2'] = 0,
                        ['chain_1'] = 6, ['chain_2'] = 0,
                        ['bags_1'] = 40,   ['bags_2'] = 0,
                    },
                    female = { -- 女性变体
                        ['tshirt_1'] = 2,  ['tshirt_2'] = 0,
                        ['torso_1'] = 93,   ['torso_2'] = 0,
                        ['decals_1'] = 14,   ['decals_2'] = 0,
                        ['arms'] = 14,
                        ['pants_1'] = 90,   ['pants_2'] = 2,
                        ['shoes_1'] = 25,   ['shoes_2'] = 0,
                    }
                },

                [2] = {
                    label = 'SWAT',
                    male = {
                        ['mask_1'] = 40,   ['mask_2'] = 0,
                        ['tshirt_1'] = 15,  ['tshirt_2'] = 0,
                        ['torso_1'] = 222,   ['torso_2'] = 0,
                        ['decals_1'] = 0,   ['decals_2'] = 0,
                        ['arms'] = 14,
                        ['pants_1'] = 160,   ['pants_2'] = 0,
                        ['shoes_1'] = 118,   ['shoes_2'] = 0,
                        ['bproof_1'] = 44, ['bproof_2'] = 0,
                        ['chain_1'] = 6, ['chain_2'] = 0,
                        ['bags_1'] = 0,   ['bags_2'] = 0,
                        ['helmet_1'] = 185,  ['helmet_2'] = 0,
                        ['glass_1'] = 66,  ['glass_2'] = 0,
                    },
                    female = {
                        ['tshirt_1'] = 42,  ['tshirt_2'] = 0,
                        ['masks_1'] = 35,   ['masks_2'] = 0,
                        ['torso_1'] = 4,   ['torso_2'] = 14,
                        ['decals_1'] = 3,   ['decals_2'] = 0,
                        ['arms'] = 111,
                        ['bproof_1'] = 18, ['bproof_2'] = 0,
                        ['pants_1'] = 30,   ['pants_2'] = 0,
                        ['chain_1'] = 81, ['chain_2'] = 0,
                        ['bags_1'] = 48,   ['bags_2'] = 0,
                        ['shoes_1'] = 25,   ['shoes_2'] = 4,
                    }
                },
                
            }

        },

        vehicles = { -- 车辆车库
            enabled = false, -- 启用?如果您有自己的方式让医务人员获取车辆,则为 false。
            jobLock = 'police', -- 工作锁定?或通过使用 false 访问所有警察工作
            zone = {
                coords = vec3(463.69, -1019.72, 28.1), -- 提示车辆车库的区域
                range = 5.5, -- 从上面的坐标提示的范围
                label = ' - 打开车库',
                return_label = ' - 存放车辆'
            },
            spawn = {
                land = {
                    coords = vec3(449.37, -1025.46, 28.59), -- 地面车辆生成/返回的坐标
                    heading = 3.68
                },
                air = {
                    coords = vec3(449.29, -981.76, 43.69), -- 空中车辆生成/返回的坐标
                    heading =  0.01
                }
            },
            options = {

                [0] = { -- 工作等级作为表名
                    ['police'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = '警车',
                        category = 'land', -- 选项为 'land' 和 'air'
                    },
                    ['police2'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = '警车 #2',
                        category = 'land', -- 选项为 'land' 和 'air'
                    },
                    ['polmav'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = 'Maverick',
                        category = 'air', -- 选项为 'land' 和 'air'
                    },
                },

                [1] = { -- 工作等级作为表名
                    ['police'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = '警车',
                        category = 'land', -- 选项为 'land' 和 'air'
                    },
                    ['police2'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = '警车 #2',
                        category = 'land', -- 选项为 'land' 和 'air'
                    },
                    ['polmav'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = 'Maverick',
                        category = 'air', -- 选项为 'land' 和 'air'
                    },
                },

                [2] = { -- 工作等级作为表名
                    ['police'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = '警车',
                        category = 'land', -- 选项为 'land' 和 'air'
                    },
                    ['police2'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = '警车 #2',
                        category = 'land', -- 选项为 'land' 和 'air'
                    },
                    ['polmav'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = 'Maverick',
                        category = 'air', -- 选项为 'land' 和 'air'
                    },
                },

                [3] = { -- 工作等级作为表名
                    ['police'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = '警车',
                        category = 'land', -- 选项为 'land' 和 'air'
                    },
                    ['police2'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = '警车 #2',
                        category = 'land', -- 选项为 'land' 和 'air'
                    },
                    ['polmav'] = { -- 车辆/直升机/车辆生成代码/模型名称
                        label = 'Maverick',
                        category = 'air', -- 选项为 'land' 和 'air'
                    },
                },

            }
        }

    },

}

如果您有任何其他问题或需要进一步的帮助,请告诉我!
回复

使用道具 举报

文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-2-9 00:53 , Processed in 0.094207 second(s), 9 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

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

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