翻译 保留源代码
CodeStudio = {}
CodeStudio.Debug = false
CodeStudio.OpenUI = {
Enable = true, --Enalbe/Disable Loccatons (*You can turn this off if you want to use with events Check Documentation for Info)
useTarget = {
Enable = true,
Target = 'qb-target', ---Supports qb-target/ox_target
SpawnPed = false,
TargetPed = `cs_lazlow`
},
useTextUI = { --You can use this if you dont want to use target
Enable = true,
openKey = 38 --E
}
}
CodeStudio.UseMetaData = false --Enalbe this if you are using inventory that supports metadata (qb-inventory, ox_inventory, qs-inventory)
CodeStudio.Animations = { --(Requires dpemotes/rpemotes)
enable = true,
ID_Prop = `prop_franklin_dl`,
Badge_Prop = `prop_fib_badge`
}
CodeStudio.AutoDisappearID = { --IF you want to auto disappear ID insted of pressing ESC to close ID when player shows ID
Enable = true,
Wait = 3000
}
CodeStudio.ID_IssueLoc = { -- if CodeStudio.OpenUI is enabled
-- = {
-- job = { --Job to access id/job card license (if you want everyone to access put false)
-- 'police',
-- },
-- coords = { --You can Add Multiple Coords
-- vector4(440.43, -975.66, 30.69, 7),
-- },
-- Available_Cards = { --Includes Public/Job ID (Check: CodeStudio.ID_Cards, CodeStudio.Job_Cards)
-- 'id_card',
-- 'drive_card',
-- 'police', -- if you put job card here it should be in CodeStudio.Job_Cards aswell and (its not job card item name its job card name)
-- }
--},
[1] = {
job = false,
coords = {
vector4(-584.06, -419.90, 35.18, 80),
},
Available_Cards = {
'id_card',
'driver_license',
'weapon_card',
'police',
}
},
}
CodeStudio.ManageMent = { -- if CodeStudio.OpenUI is enabled
[1] = {
job = { --Jobs with grades to access management menus you can add multiple jobs
['police'] = 10,--Put the minimum rank here
},
coords = {-- You can add multiple locations
vector4(-558.59, -431.91, 39.63, 87),
},
JobCard = true, --Job ID Management where you can grant and revoke job cards
PublicCard = { --Public ID Management where you can revoke and grant licenses from: CodeStudio.ID_Cards
'id_card',
'weapon_card',
'driver_license',
'police_card',
},
--},
-- = {
-- job = {
-- ['lawyer'] = 1,
-- },
-- coords = {
-- vector4(238.02, -413.16, 47.11, 169),
-- },
-- JobCard = false,
-- PublicCard = {'id_card'},
},
}
CodeStudio = {}
CodeStudio.Debug = false
CodeStudio.OpenUI = {
Enable = true, -- 启用/禁用位置 (*如果您想与事件一起使用,可以关闭此选项,请查看文档以获取信息)
useTarget = {
Enable = true,
Target = 'qb-target', --- 支持 qb-target/ox_target
SpawnPed = false,
TargetPed = `cs_lazlow`
},
useTextUI = { -- 如果您不想使用目标,可以使用此选项
Enable = true,
openKey = 38 -- E
}
}
CodeStudio.UseMetaData = false -- 如果您使用支持元数据的库存(qb-inventory, ox_inventory, qs-inventory),请启用此选项
CodeStudio.Animations = { -- (需要 dpemotes/rpemotes)
enable = true,
ID_Prop = `prop_franklin_dl`,
Badge_Prop = `prop_fib_badge`
}
CodeStudio.AutoDisappearID = { -- 如果您希望自动消失 ID,而不是按 ESC 关闭 ID,当玩家展示 ID 时
Enable = true,
Wait = 3000
}
CodeStudio.ID_IssueLoc = { -- 如果 CodeStudio.OpenUI 被启用
-- = {
-- job = { -- 访问 ID/工作证的工作(如果您希望所有人都可以访问,请设置为 false)
-- 'police',
-- },
-- coords = { -- 您可以添加多个坐标
-- vector4(440.43, -975.66, 30.69, 7),
-- },
-- Available_Cards = { -- 包括公共/工作 ID (检查: CodeStudio.ID_Cards, CodeStudio.Job_Cards)
-- 'id_card',
-- 'drive_card',
-- 'police', -- 如果您在这里放置工作证,它也应该在 CodeStudio.Job_Cards 中,并且(这不是工作证的物品名称,而是工作证的名称)
-- }
--},
= {
job = false,
coords = {
vector4(-584.06, -419.90, 35.18, 80),
},
Available_Cards = {
'id_card',
'driver_license',
'weapon_card',
'police',
}
},
}
CodeStudio.ManageMent = { -- 如果 CodeStudio.OpenUI 被启用
= {
job = { -- 具有访问管理菜单的等级的工作,您可以添加多个工作
['police'] = 10,-- 在这里放置最低等级
},
coords = {-- 您可以添加多个位置
vector4(-558.59, -431.91, 39.63, 87),
},
JobCard = true, -- 工作 ID 管理,您可以授予和撤销工作证
PublicCard = { -- 公共 ID 管理,您可以从 CodeStudio.ID_Cards 撤销和授予许可证
'id_card',
'weapon_card',
'driver_license',
'police_card',
},
--},
-- = {
-- job = {
-- = 1,
-- },
-- coords = {
-- vector4(238.02, -413.16, 47.11, 169),
-- },
-- JobCard = false,
-- PublicCard = {'id_card'},
},
}
页:
[1]