πŸ’»Exports

The exports for the ID Card system

Open the card from an inventory slot

-- Example
exports("OpenCardFromInventory", 10) -- 10 is the slot
-- PS: This is used for the inventory "Look" Button

Show the card at another player from an inventory slot

-- Example
exports("ShowCardFromInventory", 10) -- 10 is the slot
-- PS: This is used for the inventory "Show" Button

Show the card at another player from an inventory slot

-- Example
-- cardType: string (The card type)
-- createCard: boolean (It will give the player the card item after the creation is finished)

exports("TakePhoto", "idcard", true)

Open the ID Card

-- Example
-- cardType: string (The card type)
-- info: the card Info

exports("OpenCard", "idcard", {
    name = "Source",
    surname = "Devs",
    photoUrl = "imageUrl",
    expire = 10000,
    uniqueId = "LEOPUNTUS_SHKSSJ",
})

Last updated