Exports and Events
CreateDocument
TriggerServerEvent('p_documents:CreateDocument', {
type = documentType,
photo = photo
})Example of Usage
local documentType = 'idcard' -- idcard / driver / weapon / doj / mechanic
local photo = exports["MugShotBase64"]:GetMugShotBase64(PlayerPedId(), false)
TriggerServerEvent('p_documents:CreateDocument', {
type = type,
photo = photo
})ShowBusinessCard
ShowBadge
Last updated