翻译
Config, Locale = {}, {}
Config.locale = "en"
-- Chat command to delete vehicles
Config.Cmd = "deletevehicles"
Config.ESX = true -- Set this to true if you use ESX
-- If you use ESX you don't need to add any identifier to Config.AdminList because it checks if you have permission by your player group (superadmin, admin, mod)
-- Types of identifiers: steam: | license: | xbl: | live: | discord: | fivem: | ip:
Config.AdminList = {
'license:524ce5af8c1f621fabcc42410160a9041a2bb0c4', -- Example, change this
}
-- Time (in minutes) that it will take to delete vehicles since you execute the command
Config.DeleteVehicleTimer = 90
-- If true it'll delete vehicles inside safezones
Config.DeleteVehiclesIfInSafeZone = false
-- Delete vehicles automatically at this time every day (h = hour m = minutes)
Config.DeleteVehiclesAt = {
{['h'] = 8, ['m'] = 00},
{['h'] = 12, ['m'] = 00},
{['h'] = 18, ['m'] = 20},
{['h'] = 24, ['m'] = 00},
}
-- Set safezones
-- For the blip color check: https://docs.fivem.net/docs/game-references/blips/#blip-colors
-- If you want to remove the blip simply set 'alpha' to 0
Config.SafeZones = {
{ ['x'] = -44.155646565, ['y'] = -1100.155646565, ['z'] = 26.267009735108, ['radius'] = 50.0, ['color'] = 2, ['alpha'] = 150},
{ ['x'] = -1688.43811035156, ['y'] = -1073.62536621094, ['z'] = 13.1521873474121, ['radius'] = 200.0, ['color'] = 2, ['alpha'] = 150},
{ ['x'] = -2195.1352539063, ['y'] = 4288.7290039063, ['z'] = 49.173923492432, ['radius'] = 150.0, ['color'] = 2, ['alpha'] = 150},
} 以下是您提供的代码的中文翻译:
Config, Locale = {}, {}
Config.locale = "zh" -- 设置语言为中文
-- 聊天命令以删除车辆
Config.Cmd = "删除车辆"
Config.ESX = true -- 如果您使用ESX,请将此设置为true
-- 如果您使用ESX,则无需在Config.AdminList中添加任何标识符,因为它会根据您的玩家组(超级管理员、管理员、版主)检查您是否有权限
-- 标识符类型:steam: | license: | xbl: | live: | discord: | fivem: | ip:
Config.AdminList = {
'license:524ce5af8c1f621fabcc42410160a9041a2bb0c4', -- 示例,修改此项
}
-- 执行命令后删除车辆所需的时间(以分钟为单位)
Config.DeleteVehicleTimer = 90
-- 如果为true,将删除安全区内的车辆
Config.DeleteVehiclesIfInSafeZone = false
-- 每天在此时间自动删除车辆(h = 小时 m = 分钟)
Config.DeleteVehiclesAt = {
{ h = 8, m = 00},
{ h = 12, m = 00},
{ h = 18, m = 20},
{ h = 24, m = 00},
}
-- 设置安全区
-- 有关图标颜色的检查,请参见:https://docs.fivem.net/docs/game-references/blips/#blip-colors
-- 如果您想删除图标,只需将'alpha'设置为0
Config.SafeZones = {
{ x = -44.155646565, y = -1100.155646565, z = 26.267009735108, radius = 50.0, id = 2, alpha = 150},
{ x = -1688.43811035156, y = -1073.62536621094, z = 13.1521873474121, radius = 200.0, id = 2, alpha = 150},
{ x = -2195.1352539063, y = 4288.7290039063, z = 49.173923492432, radius = 150.0, id = 2, alpha = 150},
}
请注意,代码中的一些键(如`h`、`m`、`x`、`y`、`z`、`radius`、`id`和`alpha`)在翻译时保持不变,因为它们是代码的关键部分。
页:
[1]