汉化
Framework = 0, --[ 0 = AUTOMATIC, 1 = ESX / 2 = QBCore / 3 = Other ] Choose your framework
FrameworkTriggers = {
notify = '', -- [ ESX = 'esx:showNotification' / QBCore = 'QBCore:Notify' ] Set the notification event, if left blank, default will be used
object = '', --[ ESX = 'esx:getSharedObject' / QBCore = 'QBCore:GetObject' ] Set the shared object event, if left blank, default will be used (deprecated for QBCore)
resourceName = '', -- [ ESX = 'es_extended' / QBCore = 'qb-core' ] Set the resource name, if left blank, automatic detection will be performed
},
TargetScript = 0, -- [ 0 = None - using markers, 1 = Qtarget / 2 = Bt-target / 3 = Qb-target / 4 = Ox-target ]
UseFrameworkNotify = false, -- If true, framework notification will be used instead of UI notifications, recommended to leave at false as this script only needs to notify while in UI
UseBuckets = true, -- If true, players will be put in buckets for char creator (they won't see other people and vice versa)
EnableSoftReloadSkin = false, -- If reloadskin causes trouble, enable this to only reload outfit without respawning ped
CharCreatorHasAllPeds = false, -- If true, all peds will be available in char creator
UseIDModeByDefault = true, -- If true, ID mode will be enabled by default - This is NOT❗ recommended as it will hide a lot of features of the script.
}
Framework = 0, -- 选择你的框架
FrameworkTriggers = {
notify = '', -- 设置通知事件,如果留空,将使用默认值
object = '', -- 设置共享对象事件,如果留空,将使用默认值(QBCore已废弃)
resourceName = '', -- 设置资源名称,如果留空,将执行自动检测
},
TargetScript = 0, --
UseFrameworkNotify = false, -- 如果为真,将使用框架通知,而不是UI通知,建议保持为假,因为该脚本只需要在UI中发送通知
UseBuckets = true, -- 如果为真,玩家将在角色创建器中被放入桶中(他们不会看到其他人,反之亦然)
EnableSoftReloadSkin = false, -- 如果reloadskin造成问题,启用此选项以仅重新加载服装而不重生角色
CharCreatorHasAllPeds = false, -- 如果为真,所有角色将在角色创建器中可用
UseIDModeByDefault = true, -- 如果为真,默认将启用ID模式 - 这并不❗ 推荐,因为它将隐藏脚本的许多功能。
以上是代码的汉化版本。
页:
[1]