搜索
开启左侧

翻译成中文,保留源代码

[复制链接]
Toyota 发表于 2024-9-4 15:38:34 | 显示全部楼层 |阅读模式

Config.SQLSettings = {
    -- TWIX APP --
    ['SaveTwixPostsToSql']                              = true, -- This setting is used to save shared twix to sql. If you set it to False, the data will not be saved to sql.
    ['DeletePostsAfterCertainPeriodTime']               = 7,    -- Set this to 0 if you don't want any posts to be deleted. If you want to use it, specify a number of days and posts shared more than the number of days you enter will be deleted.
    ['DeleteTwixAccount']                               = 10,   -- Set this to 0 if you don't want any accounts to be deleted. If you want to use it, specify a number of days and the sql data of players who have been inactive more than the number of days you enter will be deleted.

    -- YELLO APP --
    ['SaveYelloPostsToSql']                             = true, -- This setting is used to save shared yello page to sql. If you set it to False, the data will not be saved to sql.
    ['DeletePostsAfterCertainPeriodTimeYello']          = 7,    -- Set this to 0 if you don't want any posts to be deleted. If you want to use it, specify a number of days and posts shared more than the number of days you enter will be deleted.

    --- BANK APP ---
    ['SaveBankLogToSql']                                = true, -- This setting is used to save bank log to sql. If you set it to False, the data will not be saved to sql.
    ['DeleteLogAfterCertainPeriodTimeBankLog']          = 7,    -- This setting is used to delete the bank log after the specified day. If you set it to 0, the data will not be deleted.

    --- CAll APP ---
    ['SaveLastCallLogToSql']                            = true, -- This setting is used to save call log to sql. If you set it to False, the data will not be saved to sql.
    ['DeleteLogAfterCertainPeriodTimeLastCall']         = 7,    -- This setting is used to delete the call log after the specified day. If you set it to 0, the data will not be deleted.

    --- MESSAGE APP ---
    ['SaveMessageLogToSql']                             = true, -- This setting is used to save messages log to sql. If you set it to False, the data will not be saved to sql.
    ['DeleteLogAfterCertainPeriodTimeMessageLog']       = 7,    -- This setting is used to delete the messages log after the specified day. If you set it to 0, the data will not be deleted.

    --- DARKCHAT APP ---
    ['DeleteLogAfterCertainPeriodTimeDarkchatMessages'] = 7, -- This setting is used to delete the messages log after the specified day. If you set it to 0, the data will not be deleted.

    --- CALLIE APP ----
    ['SaveCallieMessageLogToSql']                       = true, -- This setting is used to save callie messages log to sql. If you set it to False, the data will not be saved to sql.
    ['DeleteLogAfterCertainPeriodTimeCallieMessages']   = 7,    -- This setting is used to delete the callie messages log after the specified day. If you set it to 0, the data will not be deleted.

    --- SMARKET APP ----
    ['SaveSMarketLogToSql']                             = true, -- This setting is used to save jobby log to sql. If you set it to False, the data will not be saved to sql.
    ['DeleteLogAfterCertainPeriodTimeSMarketLog']       = 7,    -- This setting is used to delete the smarket log after the specified day. If you set it to 0, the data will not be deleted.

    --- LSTIMES APP ---
    ['DeleteLogAfterCertainPeriodTimeLSTimesNews']      = 7, -- This setting is used to delete the lstimes news log after the specified day. If you set it to 0, the data will not be deleted.
}


-- ███╗░░░███╗░█████╗░██████╗░░██████╗  ░█████╗░██████╗░██████╗░
-- ████╗░████║██╔══██╗██╔══██╗██╔════╝  ██╔══██╗██╔══██╗██╔══██╗
-- ██╔████╔██║███████║██████╔╝╚█████╗░  ███████║██████╔╝██████╔╝
-- ██║╚██╔╝██║██╔══██║██╔═══╝░░╚═══██╗  ██╔══██║██╔═══╝░██╔═══╝░
-- ██║░╚═╝░██║██║░░██║██║░░░░░██████╔╝  ██║░░██║██║░░░░░██║░░░░░
-- ╚═╝░░░░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═════╝░  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
Config.LiveMapSharingUpdateTime              = 5 * 1000 -- 5 seconds refresh time
Config.LiveMapSharingTotalTime               = 10 * 60  -- 10 minutes total time

-- ██╗░░░░░░██████╗████████╗██╗███╗░░░███╗███████╗░██████╗  ░█████╗░██████╗░██████╗░
-- ██║░░░░░██╔════╝╚══██╔══╝██║████╗░████║██╔════╝██╔════╝  ██╔══██╗██╔══██╗██╔══██╗
-- ██║░░░░░╚█████╗░░░░██║░░░██║██╔████╔██║█████╗░░╚█████╗░  ███████║██████╔╝██████╔╝
-- ██║░░░░░░╚═══██╗░░░██║░░░██║██║╚██╔╝██║██╔══╝░░░╚═══██╗  ██╔══██║██╔═══╝░██╔═══╝░
-- ███████╗██████╔╝░░░██║░░░██║██║░╚═╝░██║███████╗██████╔╝  ██║░░██║██║░░░░░██║░░░░░
-- ╚══════╝╚═════╝░░░░╚═╝░░░╚═╝╚═╝░░░░░╚═╝╚══════╝╚═════╝░  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
-- Config.LSTimesJobAndIdentifier               = {
--     ['job'] = {
--         ['weazelnews'] = true,
--         ['lsnews'] = true,
--     },
--     ['identifier'] = {
--         ['DQO68482'] = true,
--         ['GOT31948'] = true,
--     }
-- }

-- ░█████╗░░█████╗░██╗░░░░░██╗░░░░░██╗███████╗  ░█████╗░██████╗░██████╗░
-- ██╔══██╗██╔══██╗██║░░░░░██║░░░░░██║██╔════╝  ██╔══██╗██╔══██╗██╔══██╗
-- ██║░░╚═╝███████║██║░░░░░██║░░░░░██║█████╗░░  ███████║██████╔╝██████╔╝
-- ██║░░██╗██╔══██║██║░░░░░██║░░░░░██║██╔══╝░░  ██╔══██║██╔═══╝░██╔═══╝░
-- ╚█████╔╝██║░░██║███████╗███████╗██║███████╗  ██║░░██║██║░░░░░██║░░░░░
-- ░╚════╝░╚═╝░░╚═╝╚══════╝╚══════╝╚═╝╚══════╝  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
Config.CallieCallToJob                       = true -- If you set it to true, the callie app will be able to call the job.
Config.CalliePageJobs                        = {
    {
        job = 'police',
        icon = 'policeicon.png',
        label = 'Police',
        notBeCalledGrade = { 4, 5 }
    },
    {
        job = 'ambulance',
        icon = 'ambulanceicon.png',
        label = 'Ambulance',
        notBeCalledGrade = { 4, 5 }
    },
    {
        job = 'cardealer',
        icon = 'cardealericon.png',
        label = 'Cardealer',
        notBeCalledGrade = {}
    },
    {
        job = 'mechanic',
        icon = 'mechanicicon.png',
        label = 'Mechanic',
        notBeCalledGrade = {}
    },
    {
        job = 'taxi',
        icon = 'taxiicon.png',
        label = 'Taxi',
        notBeCalledGrade = {}
    },

}

-- ░░░░░██╗░█████╗░██████╗░██████╗░██╗░░░██╗  ░█████╗░██████╗░██████╗░
-- ░░░░░██║██╔══██╗██╔══██╗██╔══██╗╚██╗░██╔╝  ██╔══██╗██╔══██╗██╔══██╗
-- ░░░░░██║██║░░██║██████╦╝██████╦╝░╚████╔╝░  ███████║██████╔╝██████╔╝
-- ██╗░░██║██║░░██║██╔══██╗██╔══██╗░░╚██╔╝░░  ██╔══██║██╔═══╝░██╔═══╝░
-- ╚█████╔╝╚█████╔╝██████╦╝██████╦╝░░░██║░░░  ██║░░██║██║░░░░░██║░░░░░
-- ░╚════╝░░╚════╝░╚═════╝░╚═════╝░░░░╚═╝░░░  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
Config.JobbyBossMoneyInTheWithdrawandDeposit = true -- If you set it to true, the boss can see the money in the withdraw and deposit section.
Config.JobbyApps                             = {
    ['police'] = {
        name = 'police',
        label = 'Police',
        bossgrade = { 4, 5 },

    },
    ['ambulance'] = {
        name = 'ambulance',
        label = 'Ambulance',
        bossgrade = { 4, 5 },
    },
    ['mechanic'] = {
        name = 'mechanic',
        label = 'Mechanic',
        bossgrade = { 4 },
    },
    ['cardealer'] = {
        name = 'cardealer',
        label = 'Cardealer',
        bossgrade = { 4 },
    },
    ['taxi'] = {
        name = 'taxi',
        label = 'Taxi',
        bossgrade = { 4 },
    },
    ['realestate'] = {
        name = 'realestate',
        label = 'Real Estate',
        bossgrade = { 4 },
    },
    ['benny'] = {
        name = 'benny',
        label = 'Benny Mech',
        bossgrade = { 4 },
    },
}

-- ░██████╗░░░░█████╗░░░░░██████╗  ░█████╗░██████╗░██████╗░
-- ██╔════╝░░░██╔══██╗░░░██╔════╝  ██╔══██╗██╔══██╗██╔══██╗
-- ╚█████╗░░░░██║░░██║░░░╚█████╗░  ███████║██████╔╝██████╔╝
-- ░╚═══██╗░░░██║░░██║░░░░╚═══██╗  ██╔══██║██╔═══╝░██╔═══╝░
-- ██████╔╝██╗╚█████╔╝██╗██████╔╝  ██║░░██║██║░░░░░██║░░░░░
-- ╚═════╝░╚═╝░╚════╝░╚═╝╚═════╝░  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
Config.SOSAppPermission                      = {
    ['ambulance'] = true,
    -- you can add more jobs
}

Config.safeZones                             = { -- If you do not want the sos app to work in certain coordinates, enter the coordinates and radius here.
    -- { coords = vector3(1093.13, -2637.46, 9.74), radius = 50.0 },
    -- { coords = vector3(0.0, 0.0, 0.0), radius = 75.0 },
}


回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-9-4 15:43:10 | 显示全部楼层
Config.SQLSettings = {
    -- TWIX 应用 --
    ['SaveTwixPostsToSql']                              = true, -- 此设置用于将共享的 twix 保存到 SQL。如果设置为 False,数据将不会保存到 SQL。
    ['DeletePostsAfterCertainPeriodTime']               = 7,    -- 如果不想删除任何帖子,请将其设置为 0。如果想使用此功能,请指定天数,超过您输入的天数的帖子将被删除。
    ['DeleteTwixAccount']                               = 10,   -- 如果不想删除任何账户,请将其设置为 0。如果想使用此功能,请指定天数,超过您输入的天数的玩家 SQL 数据将被删除。

    -- YELLO 应用 --
    ['SaveYelloPostsToSql']                             = true, -- 此设置用于将共享的 yello 页面保存到 SQL。如果设置为 False,数据将不会保存到 SQL。
    ['DeletePostsAfterCertainPeriodTimeYello']          = 7,    -- 如果不想删除任何帖子,请将其设置为 0。如果想使用此功能,请指定天数,超过您输入的天数的帖子将被删除。

    --- 银行应用 ---
    ['SaveBankLogToSql']                                = true, -- 此设置用于将银行日志保存到 SQL。如果设置为 False,数据将不会保存到 SQL。
    ['DeleteLogAfterCertainPeriodTimeBankLog']          = 7,    -- 此设置用于在指定天数后删除银行日志。如果设置为 0,数据将不会被删除。

    --- 通话应用 ---
    ['SaveLastCallLogToSql']                            = true, -- 此设置用于将通话日志保存到 SQL。如果设置为 False,数据将不会保存到 SQL。
    ['DeleteLogAfterCertainPeriodTimeLastCall']         = 7,    -- 此设置用于在指定天数后删除通话日志。如果设置为 0,数据将不会被删除。

    --- 消息应用 ---
    ['SaveMessageLogToSql']                             = true, -- 此设置用于将消息日志保存到 SQL。如果设置为 False,数据将不会保存到 SQL。
    ['DeleteLogAfterCertainPeriodTimeMessageLog']       = 7,    -- 此设置用于在指定天数后删除消息日志。如果设置为 0,数据将不会被删除。

    --- 黑暗聊天应用 ---
    ['DeleteLogAfterCertainPeriodTimeDarkchatMessages'] = 7, -- 此设置用于在指定天数后删除消息日志。如果设置为 0,数据将不会被删除。

    --- CALLIE 应用 ----
    ['SaveCallieMessageLogToSql']                       = true, -- 此设置用于将 callie 消息日志保存到 SQL。如果设置为 False,数据将不会保存到 SQL。
    ['DeleteLogAfterCertainPeriodTimeCallieMessages']   = 7,    -- 此设置用于在指定天数后删除 callie 消息日志。如果设置为 0,数据将不会被删除。

    --- SMARKET 应用 ----
    ['SaveSMarketLogToSql']                             = true, -- 此设置用于将 jobby 日志保存到 SQL。如果设置为 False,数据将不会保存到 SQL。
    ['DeleteLogAfterCertainPeriodTimeSMarketLog']       = 7,    -- 此设置用于在指定天数后删除 smarket 日志。如果设置为 0,数据将不会被删除。

    --- LSTIMES 应用 ---
    ['DeleteLogAfterCertainPeriodTimeLSTimesNews']      = 7, -- 此设置用于在指定天数后删除 lstimes 新闻日志。如果设置为 0,数据将不会被删除。
}

-- ███╗░░░███╗░█████╗░██████╗░░██████╗  ░█████╗░██████╗░██████╗░
-- ████╗░████║██╔══██╗██╔══██╗██╔════╝  ██╔══██╗██╔══██╗██╔══██╗
-- ██╔████╔██║███████║██████╔╝╚█████╗░  ███████║██████╔╝██████╔╝
-- ██║╚██╔╝██║██╔══██║██╔═══╝░░╚═══██╗  ██╔══██║██╔═══╝░██╔═══╝░
-- ██║░╚═╝░██║██║░░██║██║░░░░░██████╔╝  ██║░░██║██║░░░░░██║░░░░░
-- ╚═╝░░░░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═════╝░  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
Config.LiveMapSharingUpdateTime              = 5 * 1000 -- 5 秒刷新时间
Config.LiveMapSharingTotalTime               = 10 * 60  -- 10 分钟总时间

-- ██╗░░░░░░██████╗████████╗██╗███╗░░░███╗███████╗░██████╗  ░█████╗░██████╗░██████╗░
-- ██║░░░░░██╔════╝╚══██╔══╝██║████╗░████║██╔════╝██╔════╝  ██╔══██╗██╔══██╗██╔══██╗
-- ██║░░░░░╚█████╗░░░░██║░░░██║██╔████╔██║█████╗░░╚█████╗░  ███████║██████╔╝██████╔╝
-- ██║░░░░░░╚═══██╗░░░██║░░░██║██║╚██╔╝██║██╔══╝░░░╚═══██╗  ██╔══██║██╔═══╝░██╔═══╝░
-- ███████╗██████╔╝░░░██║░░░██║██║░╚═╝░██║███████╗██████╔╝  ██║░░██║██║░░░░░██║░░░░░
-- ╚══════╝╚═════╝░░░░╚═╝░░░╚═╝╚═╝░░░░░╚═╝╚══════╝╚═════╝░  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
-- Config.LSTimesJobAndIdentifier               = {
--      = {
--          = true,
--          = true,
--     },
--      = {
--          = true,
--          = true,
--     }
-- }

-- ░█████╗░░█████╗░██╗░░░░░██╗░░░░░██╗███████╗  ░█████╗░██████╗░██████╗░
-- ██╔══██╗██╔══██╗██║░░░░░██║░░░░░██║██╔════╝  ██╔══██╗██╔══██╗██╔══██╗
-- ██║░░╚═╝███████║██║░░░░░██║░░░░░██║█████╗░░  ███████║██████╔╝██████╔╝
-- ██║░░██╗██╔══██║██║░░░░░██║░░░░░██║██╔══╝░░  ██╔══██║██╔═══╝░██╔═══╝░
-- ╚█████╔╝██║░░██║███████╗███████╗██║███████╗  ██║░░██║██║░░░░░██║░░░░░
-- ░╚════╝░╚═╝░░╚═╝╚══════╝╚══════╝╚═╝╚══════╝  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
Config.CallieCallToJob                       = true -- 如果设置为 true,callie 应用将能够拨打工作电话。
Config.CalliePageJobs                        = {
    {
        job = 'police',
        icon = 'policeicon.png',
        label = '警察',
        notBeCalledGrade = { 4, 5 }
    },
    {
        job = 'ambulance',
        icon = 'ambulanceicon.png',
        label = '救护车',
        notBeCalledGrade = { 4, 5 }
    },
    {
        job = 'cardealer',
        icon = 'cardealericon.png',
        label = '汽车经销商',
        notBeCalledGrade = {}
    },
    {
        job = 'mechanic',
        icon = 'mechanicicon.png',
        label = '机械师',
        notBeCalledGrade = {}
    },
    {
        job = 'taxi',
        icon = 'taxiicon.png',
        label = '出租车',
        notBeCalledGrade = {}
    },
}

-- ░░░░░██╗░█████╗░██████╗░██████╗░██╗░░░██╗  ░█████╗░██████╗░██████╗░
-- ���░░░░██║██╔══██╗██╔══██╗██╔══██╗╚██╗░██╔╝  ██╔══██╗██╔══██╗██╔══██╗
-- ░░░░░██║██║░░██║██████╦╝██████╦╝░╚████╔╝░  ███████║██████╔╝██████╔╝
-- ██╗░░██║██║░░██║██╔══██╗██╔══██╗░░╚██╔╝░░  ██╔══██║██╔═══╝░██╔═══╝░
-- ╚█████╔╝╚█████╔╝██████╦╝██████╦╝░░░██║░░░  ██║░░██║██║░░░░░██║░░░░░
-- ░╚════╝░░╚════╝░╚═════╝░╚═════╝░░░░╚═╝░░░  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
Config.JobbyBossMoneyInTheWithdrawandDeposit = true -- 如果设置为 true,老板可以查看取款和存款部分的金额。
Config.JobbyApps                             = {
    ['police'] = {
        name = 'police',
        label = '警察',
        bossgrade = { 4, 5 },
    },
    ['ambulance'] = {
        name = 'ambulance',
        label = '救护车',
        bossgrade = { 4, 5 },
    },
    ['mechanic'] = {
        name = 'mechanic',
        label = '机械师',
        bossgrade = { 4 },
    },
    ['cardealer'] = {
        name = 'cardealer',
        label = '汽车经销商',
        bossgrade = { 4 },
    },
    ['taxi'] = {
        name = 'taxi',
        label = '出租车',
        bossgrade = { 4 },
    },
    ['realestate'] = {
        name = 'realestate',
        label = '房地产',
        bossgrade = { 4 },
    },
    ['benny'] = {
        name = 'benny',
        label = 'Benny 机械师',
        bossgrade = { 4 },
    },
}

-- ░██████╗░░░░█████╗░░░░░██████╗  ░█████╗░██████╗░██████╗░
-- ██╔════╝░░░██╔══██╗░░░██╔════╝  ██╔══██╗██╔══██╗██╔══██╗
-- ╚█████╗░░░░██║░░██║░░░╚█████╗░  ███████║██████╔╝██████╔╝
-- ░╚═══██╗░░░██║░░██║░░░░╚═══██╗  ██╔══██║██╔═══╝░██╔═══╝░
-- ██████╔╝██╗╚█████╔╝██╗██████╔╝  ██║░░██║██║░░░░░██║░░░░░
-- ╚═════╝░╚═╝░╚════╝░╚═╝╚═════╝░  ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░
Config.SOSAppPermission                      = {
    ['ambulance'] = true,
    -- 您可以添加更多工作
}

Config.safeZones                             = { -- 如果您不希望 sos 应用在某些坐标中工作,请在此输入坐标和半径。
    -- { coords = vector3(1093.13, -2637.46, 9.74), radius = 50.0 },
    -- { coords = vector3(0.0, 0.0, 0.0), radius = 75.0 },
}
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-9 02:06 , Processed in 0.155198 second(s), 11 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

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

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