翻译成中文,保留源代码
IMAGES = {
{
dict = 'rcore_graffiti',
name = 'grove',
scale = 0.17,
color = {33, 146, 0},
gangTags = {'gsf'}, -- Used for capturing territory when using https://store.rcore.cz/package/4913168
width = 752,
height = 752,
},
{
dict = 'rcore_graffiti',
name = 'aztecas',
scale = 0.17,
color = {214, 101, 41},
gangTags = {'aztecas'}, -- Used for capturing territory when using https://store.rcore.cz/package/4913168
width = 640,
height = 732,
},
{
dict = 'rcore_graffiti',
name = 'ballas',
scale = 0.235,
color = {142, 7, 198},
gangTags = {'ballas'}, -- Used for capturing territory when using https://store.rcore.cz/package/4913168
width = 500,
height = 544,
},
{
dict = 'rcore_graffiti',
name = 'vagos',
scale = 0.47,
color = {164, 103, 65},
gangTags = {'vagos'}, -- Used for capturing territory when using https://store.rcore.cz/package/4913168
width = 272,
height = 272,
},
}
FastImageMap = {}
for _, d in pairs(IMAGES) do FastImageMap[d.dict .. d.name] = d end
COLORS = {
{
basic = 'WHITE',
hex = 'ffffff',
rgb = {255, 255, 255},
},
{
basic = 'RED',
hex = 'c81912',
rgb = {200, 25, 18},
},
{
basic = 'RED',
hex = 'f64b3c',
rgb = {246, 75, 60},
},
{
basic = 'PINK',
hex = 'f76a8c',
rgb = {247, 106, 140},
},
{
basic = 'PINK',
hex = 'fde2e2',
rgb = {253, 226, 226},
},
{
basic = 'BLUE',
hex = '000839',
rgb = {0, 8, 57},
},
{
basic = 'BLUE',
hex = '005082',
rgb = {0, 80, 130},
},
{
basic = 'BLUE',
hex = '00a8cc',
rgb = {0, 168, 204},
},
{
basic = 'YELLOW',
hex = 'ffd31d',
rgb = {255, 211, 29},
},
{
basic = 'YELLOW',
hex = 'f5fcc1',
rgb = {245, 252, 193},
},
{
basic = 'GREEN',
hex = '2b580c',
rgb = {43, 88, 12},
},
{
basic = 'GREEN',
hex = '639a67',
rgb = {99, 154, 103},
},
{
basic = 'ORANGE',
hex = 'ea6227',
rgb = {234, 98, 39},
},
{
basic = 'ORANGE',
hex = 'ffa41b',
rgb = {255, 164, 27},
},
{
basic = 'BROWN',
hex = '442727',
rgb = {68, 39, 39},
},
{
basic = 'BROWN',
hex = '9c5518',
rgb = {156, 85, 24},
},
{
basic = 'PURPLE',
hex = '844685',
rgb = {132, 70, 133},
},
{
basic = 'PURPLE',
hex = 'be79df',
rgb = {190, 121, 223},
},
{
basic = 'GREY',
hex = 'cccccc',
rgb = {204, 204, 204},
},
{
basic = 'GREY',
hex = '323232',
rgb = {50, 50, 50},
},
{
basic = 'BLACK',
hex = '000000',
rgb = {0, 0, 0},
},
}
SIMPLE_COLORS = {}
for idx, c in pairs(COLORS) do
SIMPLE_COLORS[idx] = c.rgb
end
FW_ESX = 1
FW_QBCORE = 2
FW_OTHER = 3
以下是代码的中文翻译,保留了源代码:
IMAGES = {
{
dict = 'rcore_graffiti',
name = 'grove',
scale = 0.17,
color = {33, 146, 0},
gangTags = {'gsf'}, -- 用于使用 https://store.rcore.cz/package/4913168 捕获领土
width = 752,
height = 752,
},
{
dict = 'rcore_graffiti',
name = 'aztecas',
scale = 0.17,
color = {214, 101, 41},
gangTags = {'aztecas'}, -- 用于使用 https://store.rcore.cz/package/4913168 捕获领土
width = 640,
height = 732,
},
{
dict = 'rcore_graffiti',
name = 'ballas',
scale = 0.235,
color = {142, 7, 198},
gangTags = {'ballas'}, -- 用于使用 https://store.rcore.cz/package/4913168 捕获领土
width = 500,
height = 544,
},
{
dict = 'rcore_graffiti',
name = 'vagos',
scale = 0.47,
color = {164, 103, 65},
gangTags = {'vagos'}, -- 用于使用 https://store.rcore.cz/package/4913168 捕获领土
width = 272,
height = 272,
},
}
FastImageMap = {}
for _, d in pairs(IMAGES) do FastImageMap = d end
COLORS = {
{
basic = '白色',
hex = 'ffffff',
rgb = {255, 255, 255},
},
{
basic = '红色',
hex = 'c81912',
rgb = {200, 25, 18},
},
{
basic = '红色',
hex = 'f64b3c',
rgb = {246, 75, 60},
},
{
basic = '粉色',
hex = 'f76a8c',
rgb = {247, 106, 140},
},
{
basic = '粉色',
hex = 'fde2e2',
rgb = {253, 226, 226},
},
{
basic = '蓝色',
hex = '000839',
rgb = {0, 8, 57},
},
{
basic = '蓝色',
hex = '005082',
rgb = {0, 80, 130},
},
{
basic = '蓝色',
hex = '00a8cc',
rgb = {0, 168, 204},
},
{
basic = '黄色',
hex = 'ffd31d',
rgb = {255, 211, 29},
},
{
basic = '黄色',
hex = 'f5fcc1',
rgb = {245, 252, 193},
},
{
basic = '绿色',
hex = '2b580c',
rgb = {43, 88, 12},
},
{
basic = '绿色',
hex = '639a67',
rgb = {99, 154, 103},
},
{
basic = '橙色',
hex = 'ea6227',
rgb = {234, 98, 39},
},
{
basic = '橙色',
hex = 'ffa41b',
rgb = {255, 164, 27},
},
{
basic = '棕色',
hex = '442727',
rgb = {68, 39, 39},
},
{
basic = '棕色',
hex = '9c5518',
rgb = {156, 85, 24},
},
{
basic = '紫色',
hex = '844685',
rgb = {132, 70, 133},
},
{
basic = '紫色',
hex = 'be79df',
rgb = {190, 121, 223},
},
{
basic = '灰色',
hex = 'cccccc',
rgb = {204, 204, 204},
},
{
basic = '灰色',
hex = '323232',
rgb = {50, 50, 50},
},
{
basic = '黑色',
hex = '000000',
rgb = {0, 0, 0},
},
}
SIMPLE_COLORS = {}
for idx, c in pairs(COLORS) do
SIMPLE_COLORS = c.rgb
end
FW_ESX = 1
FW_QBCORE = 2
FW_OTHER = 3
页:
[1]