搜索
开启左侧

[有效回答] 翻译 保留源代码

[复制链接]
杰瑞米瓦德 发表于 2024-9-22 23:38:26 | 显示全部楼层 |阅读模式

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 [This is where players will get the IDs]
    --[1] = {
    --    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 [This is where job boss will issue/revoke IDs]
    [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',
        },
    --},
    --[2] = {
    --    job = {
    --        ['lawyer'] = 1,
    --    },
    --    coords = {
    --        vector4(238.02, -413.16, 47.11, 169),
    --    },
    --    JobCard = false,
    --    PublicCard = {'id_card'},
    },
}


回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-9-22 23:38:43 | 显示全部楼层
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 中,并且(这不是工作证的物品名称,而是工作证的名称)
    --    }
    --},
    [1] = {
        job = false,
        coords = {
            vector4(-584.06, -419.90, 35.18, 80),
        },

        Available_Cards = {
            'id_card',
            'driver_license',
            'weapon_card',
            'police',
        }
    },
}

CodeStudio.ManageMent = {   -- 如果 CodeStudio.OpenUI 被启用 
    [1] = {
        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'},
    },
}
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-9 02:12 , Processed in 0.173155 second(s), 10 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

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

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