Toyota 发表于 2024-9-4 15:37:02

翻译成中文,保留源代码


Config = {}
Locales = Locales or {}
Config.Framework = "qb"      -- esx, oldesx, qb, oldqb
Config.VersionChecker = true --for github version checker
Config.SQLChecker = true   --for sql checker automatically checks and edits all sqls. It is not recommended to turn it off.
Config.systemLanguage = 'tr' -- tr on en

-- ██████╗░██╗░░██╗░█████╗░███╗░░██╗███████╗  ░██████╗███████╗████████╗████████╗██╗███╗░░██╗░██████╗░░██████╗
-- ██╔══██╗██║░░██║██╔══██╗████╗░██║██╔════╝  ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗░██║██╔════╝░██╔════╝
-- ██████╔╝███████║██║░░██║██╔██╗██║█████╗░░  ╚█████╗░█████╗░░░░░██║░░░░░░██║░░░██║██╔██╗██║██║░░██╗░╚█████╗░
-- ██╔═══╝░██╔══██║██║░░██║██║╚████║██╔══╝░░  ░╚═══██╗██╔══╝░░░░░██║░░░░░░██║░░░██║██║╚████║██║░░╚██╗░╚═══██╗
-- ██║░░░░░██║░░██║╚█████╔╝██║░╚███║███████╗  ██████╔╝███████╗░░░██║░░░░░░██║░░░██║██║░╚███║╚██████╔╝██████╔╝
-- ╚═╝░░░░░╚═╝░░╚═╝░╚════╝░╚═╝░░╚══╝╚══════╝  ╚═════╝░╚══════╝░░░╚═╝░░░░░░╚═╝░░░╚═╝╚═╝░░╚══╝░╚═════╝░╚═════╝░
Config.PhoneNumberPrefix = {
    555,
    444,
    222,
    333,
    111,
}
Config.PhoneNumberLength = 4             -- Config.PhoneNumberPrefix + Config.PhoneNumberLength
Config.PhonePasswordLength = 4
Config.CurrencyUnit = "$"                -- $, €, £, ¥, ₺
Config.UseDiscordWebhooks = true
Config.ShowNearbyPlayersName = true      -- If you set it to true, the names of the players around you will be displayed on the phone. If you set it to false, the names of the players around you will not be displayed on the phone just ID Show.
Config.OpenPhoneKey = 'F1'               -- Open Phone Key
Config.OpenMousePhoneKey = 'LMENU'       -- Left Alt
Config.AcceptIncomingCallKey = 'return'-- Accept Incoming Call Key -- ENTER KEY
Config.DeclineIncomingCallKey = 'back'   -- Accept Incoming Call Key -- BACKSPACE KEY
Config.PhoneRingtonesNearbyHearIt = true -- If you set it to true, you can hear the phone ringtone of the players around you. If you set it to false, you will not hear the phone ringtone of the players around you.
Config.MusicAppSpeakersMode = true       -- If you set it to true, the music will be played from the speakers. If you set it to false, the music will be played from the phone.
Config.CallSoundLanguage = 'en'          -- en, trJUST EN AND TR SUPPORTED
Config.YelloPostCooldown = 15 * 60       -- 15 minutes -- disable 0
Config.BankTransferLimit = 1000000       -- 1.000.000 -- disable 0
Config.DiscordProfilePhoto = true      -- If you set it to true, the profile photo of the discord user will be displayed on the phone. If you set it to false, the profile photo of the discord user will not be displayed on the phone.
Config.AdminPermissions = {
    "superadmin",
    "admin",
    "god",
    "mod",
}

-- ██╗░░░██╗░█████╗░██╗░░░██╗██████╗░  ░██████╗░█████╗░██████╗░██╗██████╗░████████╗░██████╗
-- ╚██╗░██╔╝██╔══██╗██║░░░██║██╔══██╗  ██╔════╝██╔══██╗██╔══██╗██║██╔══██╗╚══██╔══╝██╔════╝
-- ░╚████╔╝░██║░░██║██║░░░██║██████╔╝  ╚█████╗░██║░░╚═╝██████╔╝██║██████╔╝░░░██║░░░╚█████╗░
-- ░░╚██╔╝░░██║░░██║██║░░░██║██╔══██╗  ░╚═══██╗██║░░██╗██╔══██╗██║██╔═══╝░░░░██║░░░░╚═══██╗
-- ░░░██║░░░╚█████╔╝╚██████╔╝██║░░██║  ██████╔╝╚█████╔╝██║░░██║██║██║░░░░░░░░██║░░░██████╔╝
-- ░░░╚═╝░░░░╚════╝░░╚═════╝░╚═╝░░╚═╝  ╚═════╝░░╚════╝░╚═╝░░╚═╝╚═╝╚═╝░░░░░░░░╚═╝░░░╚═════╝░
Config.PhoneItemName = "phone"
Config.VoiceSystem = "pma-voice"          -- pma-voice, mumble-voip, saltychat, toko-voip
Config.SQL = "oxmysql"                  -- oxmysql, ghmattimysql, mysql-async
Config.BillingScript = "qbdefault"      -- codem-billing, qbdefault, okokbilling - esxdefault
Config.Inventory = "qb_inventory"         -- codem-inventory, qb_inventory, esx_inventory, ox_inventory
Config.GarageScript = "qb-garages"      -- qb-grages, codem-garage
Config.QBCoreJobVaultSql = "bank_account" -- bank_account, management_funds -- only for qbcore

-- ░█████╗░░█████╗░███╗░░░███╗███╗░░░███╗░█████╗░███╗░░██╗██████╗░░██████╗
-- ██╔══██╗██╔══██╗████╗░████║████╗░████║██╔══██╗████╗░██║██╔══██╗██╔════╝
-- ██║░░╚═╝██║░░██║██╔████╔██║██╔████╔██║███████║██╔██╗██║██║░░██║╚█████╗░
-- ██║░░██╗██║░░██║██║╚██╔╝██║██║╚██╔╝██║██╔══██║██║╚████║██║░░██║░╚═══██╗
-- ╚█████╔╝╚█████╔╝██║░╚═╝░██║██║░╚═╝░██║██║░░██║██║░╚███║██████╔╝██████╔╝
-- ░╚════╝░░╚════╝░╚═╝░░░░░╚═╝╚═╝░░░░░╚═╝╚═╝░░╚═╝╚═╝░░╚══╝╚═════╝░╚═════╝░
Config.Commands = {
    ['givetwixbadge'] = 'givetwixbadge', --example /givetwixbadge twixaccountname blue or yellow or none
    ['changenumber'] = 'changenumber'    -- example /changenumber oldnumber newnumber
}

-- ░█████╗░██████╗░██████╗░██████╗░██████╗░██╗░█████╗░███████╗
-- ██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██║██╔══██╗██╔════╝
-- ███████║██████╔╝██████╔╝██████╔╝██████╔╝██║██║░░╚═╝█████╗░░
-- ██╔══██║██╔═══╝░██╔═══╝░██╔═══╝░██╔══██╗██║██║░░██╗██╔══╝░░
-- ██║░░██║██║░░░░░██║░░░░░██║░░░░░██║░░██║██║╚█████╔╝███████╗
-- ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░╚═╝░░░░░╚═╝░░╚═╝╚═╝░╚════╝░╚══════╝

Config.ValetPrice = 500
Config.ValeMode = true                     -- If true, an npc will bring your vehicle to the valet, if false, the vehicle will be spawned near you
Config.YelloPostPrice = 1000               -- 0 disable
Config.CheckTheInvoiceToUseTheValet = true -- if the player has an unpaid bill, he can't use the valet.

-- ░█████╗░██╗░░░░░██╗░░░░░░█████╗░░██╗░░░░░░░██╗███████╗██████╗░░█████╗░██████╗░██████╗░
-- ██╔══██╗██║░░░░░██║░░░░░██╔══██╗░██║░░██╗░░██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗
-- ███████║██║░░░░░██║░░░░░██║░░██║░╚██╗████╗██╔╝█████╗░░██║░░██║███████║██████╔╝██████╔╝
-- ██╔══██║██║░░░░░██║░░░░░██║░░██║░░████╔═████║░██╔══╝░░██║░░██║██╔══██║██╔═══╝░██╔═══╝░
-- ██║░░██║███████╗███████╗╚█████╔╝░░╚██╔╝░╚██╔╝░███████╗██████╔╝██║░░██║██║░░░░░██║░░░░░
-- ╚═╝░░╚═╝╚══════╝╚══════╝░╚════╝░░░░╚═╝░░░╚═╝░░╚══════╝╚═════╝░╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░

Config.AppsToDownload = {
    { name = "callie", },
    { name = "darkchat", },
    { name = "vale", },
    { name = "yello", },
    { name = "smarket", },
    { name = "twix", },
    { name = "jobby", },
}


ChatGPT 发表于 2024-9-4 15:37:41

Config = {}
Locales = Locales or {}
Config.Framework = "qb"      -- esx, oldesx, qb, oldqb
Config.VersionChecker = true -- 用于 GitHub 版本检查
Config.SQLChecker = true   -- 自动检查和编辑所有 SQL,不建议关闭
Config.systemLanguage = 'tr' -- tr 表示土耳其语,en 表示英语

-- ██████╗░██╗░░██╗░█████╗░███╗░░██╗███████╗  ░██████╗███████╗████████╗████████╗██╗███╗░░██╗░██████╗░░██████╗
-- ██╔══██╗██║░░██║██╔══██╗████╗░██║██╔════╝  ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗░██║██╔════╝░██╔════╝
-- ██████╔╝███████║██║░░██║██╔██╗██║█████╗░░  ╚█████╗░█████╗░░░░░██║░░░░░░██║░░░██║██╔██╗██║██║░░██╗░╚█████╗░
-- ██╔═══╝░██╔══██║██║░░██║██║╚████║██╔══╝░░  ░╚═══██╗██╔══╝░░░░░██║░░░░░░██║░░░██║██║╚████║██║░░╚██╗░╚═══██╗
-- ██║░░░░░██║░░██║╚█████╔╝██║░╚███║███████╗  ██████╔╝███████╗░░░██║░░░░░░██║░░░██║██║░╚███║╚██████╔╝██████╔╝
-- ╚═╝░░░░░╚═╝░░╚═╝░╚════╝░╚═╝░░╚══╝╚══════╝  ╚═════╝░╚══════╝░░░╚═╝░░░░░░╚═╝░░░╚═╝╚═╝░░╚══╝░╚═════╝░╚═════╝░
Config.PhoneNumberPrefix = {
    555,
    444,
    222,
    333,
    111,
}
Config.PhoneNumberLength = 4             -- Config.PhoneNumberPrefix + Config.PhoneNumberLength
Config.PhonePasswordLength = 4
Config.CurrencyUnit = "$"                -- $, €, £, ¥, ₺
Config.UseDiscordWebhooks = true
Config.ShowNearbyPlayersName = true      -- 如果设置为 true,周围玩家的名字将在手机上显示。如果设置为 false,周围玩家的名字将不会在手机上显示,只显示 ID。
Config.OpenPhoneKey = 'F1'               -- 打开手机的按键
Config.OpenMousePhoneKey = 'LMENU'       -- 左 Alt
Config.AcceptIncomingCallKey = 'return'-- 接听来电的按键 -- ENTER 键
Config.DeclineIncomingCallKey = 'back'   -- 拒绝来电的按键 -- BACKSPACE 键
Config.PhoneRingtonesNearbyHearIt = true -- 如果设置为 true,您可以听到周围玩家的手机铃声。如果设置为 false,您将听不到周围玩家的手机铃声。
Config.MusicAppSpeakersMode = true       -- 如果设置为 true,音乐将通过扬声器播放。如果设置为 false,音乐将通过手机播放。
Config.CallSoundLanguage = 'en'          -- en, tr 仅支持英语和土耳其语
Config.YelloPostCooldown = 15 * 60       -- 15 分钟 -- 禁用 0
Config.BankTransferLimit = 1000000       -- 1,000,000 -- 禁用 0
Config.DiscordProfilePhoto = true      -- 如果设置为 true,Discord 用户的头像将在手机上显示。如果设置为 false,Discord 用户的头像将不会在手机上显示。
Config.AdminPermissions = {
    "superadmin",
    "admin",
    "god",
    "mod",
}

-- ██╗░░░██╗░█████╗░██╗░░░██╗██████╗░  ░██████╗░█████╗░██████╗░██╗██████╗░████████╗░██████╗
-- ╚██╗░██╔╝██╔══██╗██║░░░██║██╔══██╗  ██╔════╝██╔══██╗██╔══██╗██║██╔══██╗╚══██╔══╝██╔════╝
-- ░╚████╔╝░██║░░██║██║░░░██║██████╔╝  ╚█████╗░██║░░╚═╝██████╔╝██║██████╔╝░░░██║░░░╚█████╗░
-- ░░╚██╔╝░░██║░░██║██║░░░██║██╔══██╗  ░╚═══██╗██║░░██╗██╔══██╗██║██╔═══╝░░░░██║░░░░╚═══██╗
-- ░░░██║░░░╚█████╔╝╚██████╔╝██║░░██║  ██████╔╝╚█████╔╝██║░░██║██║██║░░░░░░░░██║░░░██████╔╝
-- ░░░╚═╝░░░░╚════╝░░╚═════╝░╚═╝░░╚═╝  ╚═════╝░░╚════╝░╚═╝░░╚═╝╚═╝╚═╝░░░░░░░░╚═╝░░░╚═════╝░
Config.PhoneItemName = "phone"
Config.VoiceSystem = "pma-voice"          -- pma-voice, mumble-voip, saltychat, toko-voip
Config.SQL = "oxmysql"                  -- oxmysql, ghmattimysql, mysql-async
Config.BillingScript = "qbdefault"      -- codem-billing, qbdefault, okokbilling - esxdefault
Config.Inventory = "qb_inventory"         -- codem-inventory, qb_inventory, esx_inventory, ox_inventory
Config.GarageScript = "qb-garages"      -- qb-grages, codem-garage
Config.QBCoreJobVaultSql = "bank_account" -- bank_account, management_funds -- 仅适用于 qbcore

-- ░█████╗░░█████╗░███╗░░░███╗███╗░░░███╗░█████╗░███╗░░██╗██████╗░░██████╗
-- ██╔══██╗██╔══██╗████╗░████║████╗░████║██╔══██╗████╗░██║██╔══██╗██╔════╝
-- ██║░░╚═╝██║░░██║██╔████╔██║██╔████╔██║███████║██╔██╗██║██║░░██║╚█████╗░
-- ██║░░██╗██║░░██║██║╚██╔╝██║██║╚██╔╝██║██╔══██║██║╚████║██║░░██║░╚═══██╗
-- ╚█████╔╝╚█████╔╝██║░╚═╝░██║██║░╚═╝░██║██║░░██║██║░╚███║██████╔╝██████╔╝
-- ░╚════╝░░╚════╝░╚═╝░░░░░╚═╝╚═╝░░░░░╚═╝╚═╝░░╚═╝╚═╝░░╚══╝╚═════╝░╚═════╝░
Config.Commands = {
    ['givetwixbadge'] = 'givetwixbadge', --示例 /givetwixbadge twixaccountname blue 或 yellow 或 none
    ['changenumber'] = 'changenumber'    -- 示例 /changenumber oldnumber newnumber
}

-- ░█████╗░██████╗░██████╗░██████╗░██████╗░██╗░█████╗░███████╗
-- ██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗██║██╔══██╗██╔════╝
-- ███████║██████╔╝██████╔╝██████╔╝██████╔╝██║██║░░╚═╝█████╗░░
-- ██╔══██║██╔═══╝░██╔═══╝░██╔═══╝░██╔══██╗██║██║░░██╗██╔══╝░░
-- ██║░░██║██║░░░░░██║░░░░░██║░░░░░██║░░██║██║╚█████╔╝███████╗
-- ╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░╚═╝░░░░░╚═╝░░╚═╝╚═╝░╚════╝░╚══════╝

Config.ValetPrice = 500
Config.ValeMode = true                     -- 如果为 true,NPC 将把您的车辆送到代客泊车处,如果为 false,车辆将在您附近生成
Config.YelloPostPrice = 1000               -- 0 禁用
Config.CheckTheInvoiceToUseTheValet = true -- 如果玩家有未支付的账单,则无法使用代客泊车服务。

-- ░█████╗░██╗░░░░░██╗░░░░░░█████╗░░██╗░░░░░░░██╗███████╗██████╗░░█████╗░██████╗░██████╗░
-- ██╔══██╗██║░░░░░██║░░░░░██╔══██╗░██║░░██╗░░██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗
-- ███████║██║░░░░░██║░░░░░██║░░██║░╚██╗████╗██╔╝█████╗░░██║░░██║███████║██████╔╝██████╔╝
-- ██╔══██║██║░░░░░██║░░░░░██║░░██║░░████╔═████║░██╔══╝░░██║░░██║██╔══██║██╔═══╝░██╔═══╝░
-- ██║░░██║███████╗███████╗╚█████╔╝░░╚██╔╝░╚██╔╝░███████╗██████╔╝██║░░██║██║░░░░░██║░░░░░
-- ╚═╝░░╚═╝╚══════╝╚══════╝░╚════╝░░░░╚═╝░░░╚═╝░░╚══════╝╚═════╝░╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░

Config.AppsToDownload = {
    { name = "callie", },
    { name = "darkchat", },
    { name = "vale", },
    { name = "yello", },
    { name = "smarket", },
    { name = "twix", },
    { name = "jobby", },
}
页: [1]
查看完整版本: 翻译成中文,保留源代码