[QBox] FakeID Script
FakeID Script for FiveM [QBox] Overview This script allows players to create fake IDs with custom data. Dependencies QBox qbx-idcard or um-idcard ox_target Installation Download or clone this repository to your FiveM server resource folder. add the following code to...
forum.cfx.re
FiveM 的 FakeID 脚本 [QBox]
概述
该脚本允许玩家使用自定义数据创建虚假身份证。依赖项
安装
将此存储库下载或克隆到您的 FiveM 服务器资源文件夹。添加以下代码到qbx_idcard/bridge/framework/qbox.lua
lua:
local function CreateFakeMetaLicense(src, itemTable, fakeinfo)
local player = exports.qbx_core:GetPlayer(src)
if type(itemTable) == "string" then
itemTable = {itemTable}
end
if type(itemTable) == "table" then
for _, v in pairs(itemTable) do
metadata = {
cardtype = v,
firstname = fakeinfo.firstname,
lastname = fakeinfo.lastname,
birthdate = fakeinfo.dob,
sex = fakeinfo.sex,
nationality = fakeinfo.nationality,
mugShot = 'none',
}
exports.ox_inventory:AddItem(src, v, 1, metadata)
end
else
print("Invalid parameter type")
end
end
exports('CreateFakeMetaLicense', CreateFakeMetaLicense)
lua:
["hacker_access_card"] = {
label = "Access Card",
weight = 100,
stack = false,
close = true,
description = "Access Card to an unknown room",
client = {
image = "hacker_access_card.png",
}
},
["hacker_usb"] = {
label = "Black USB Stick",
weight = 100,
stack = false,
close = true,
description = "Black USB Stick with Hacker written on it",
client = {
image = "hacker_usb.png",
}
},
["blank_card"] = {
label = "Blank Card",
weight = 100,
stack = true,
close = true,
description = "Plain, smooth, and white plastic cards ready for custom printing, ideal for creating personalized IDs or access cards.",
client = {
image = "blank_card.png",
}
},
["special_ink"] = {
label = "Special Ink",
weight = 100,
stack = false,
close = true,
description = "High-quality, iridescent ink that ensures a professional-grade print, suitable for sensitive documents and special purposes.",
client = {
image = "special_ink.png",
}
},
["laminating_sheet"] = {
label = "Laminating Sheet",
weight = 100,
stack = true,
close = true,
description = "Clear, durable sheets designed for protecting and preserving documents or ID cards by creating a professional, laminated finish.",
client = {
image = "laminating_sheet.png",
}
},
用法
- 访问控制:玩家必须在库存中拥有黑客访问卡才能进入该位置。
- 计算机交互:玩家将与计算机交互以访问假身份证创建菜单。
- 登录要求:要登录计算机,玩家必须在其库存中拥有一个黑客 USB。
- 制作要求:玩家必须在库存中拥有所有必要的物品才能成功制作假身份证。
- 假身份证创建流程:满足要求并完成流程后,玩家将输入姓名和出生日期等详细信息。短暂延迟后,假身份证将添加到他们的库存中。
未来的增强功能
- 手机通知
- 对 ID 类型和验证进行更多定制。
- 通过动态对话改进了 NPC 互动。
执照
该项目采用 MIT 许可证 - 有关详细信息,请参阅 LICENSE 文件。如果有任何错误或问题,请在下面@我!这是我的第一个脚本,所以没什么特别的!
GitHub - The-Kodah/kodek-fakeid
Contribute to The-Kodah/kodek-fakeid development by creating an account on GitHub.
github.com