💻
Source
  • Source Devs
  • 💲Paid Resources
    • 👥SRC-MULTICHAR
      • 💯Read ME
      • 📝Identity
      • 👦Characters
      • 🎥Cams
      • 💳ID Card
        • 💻Exports
        • ➰Required
Powered by GitBook
On this page
  • Open the card from an inventory slot
  • Show the card at another player from an inventory slot
  • Show the card at another player from an inventory slot
  • Open the ID Card
  1. Paid Resources
  2. SRC-MULTICHAR
  3. ID Card

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",
})
PreviousID CardNextRequired

Last updated 10 months ago

💲
👥
💳
💻