> For the complete documentation index, see [llms.txt](https://sbscripts.gitbook.io/sb-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sbscripts.gitbook.io/sb-scripts/sb-city-hall/sb-cards/giving-cards.md).

# Giving Cards

Cards read their details from item metadata, and fall back to the holder's character. To hand out a card stamped with a player's details (name, date of birth, citizen ID, job rank and callsign):

* **Admin command:** `/givecard [id] [item]`
* **From your own scripts** (city hall, boss menu or job locker):

```lua
exports.sbcards:GiveCard(source, 'police_id')   -- true or false
```

### Testing

With `Config.Debug = true`, the card also shows to you, and `/sbcardtest [item]` is enabled for admins.
