> For the complete documentation index, see [llms.txt](https://docs.fivemcustoms.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fivemcustoms.com/fc-lspdbadge.md).

# FC-LspdBadge

Free LSPD badge and id card system for FiveM, made by FivemCustoms scripts.

FC-LspdBadge gives your police department a proper badge system. Officers walk up to a ped at the station, register their badge number and take a real photo of their character. They get a leather badge wallet with a metal badge on one side and a photo id card on the other, and they can check it themselves or flash it to whoever is standing in front of them.

## Features

* Registration ped with ox\_target, add as many offices as you want
* Badge number picked by the officer or generated, always unique
* In-game photo with a small camera mode: rotate, zoom, preview and retake
* ox\_inventory item that always shows the photo taken at registration
* Look at your badge or show it to the closest player
* Replacement for lost or stolen badges, old copies get a VOID stamp
* The rank on the card follows the job grade, silver or gold badge per grade
* Admin commands to revoke, restore or delete a registration
* ESX, QBCore and Qbox, detected automatically
* 35 languages included

## Requirements

| Resource         | Download                                                                               |
| ---------------- | -------------------------------------------------------------------------------------- |
| ox\_lib          | [github.com/overextended/ox\_lib](https://github.com/overextended/ox_lib)              |
| ox\_target       | [github.com/overextended/ox\_target](https://github.com/overextended/ox_target)        |
| ox\_inventory    | [github.com/overextended/ox\_inventory](https://github.com/overextended/ox_inventory)  |
| oxmysql          | [github.com/overextended/oxmysql](https://github.com/overextended/oxmysql)             |
| screenshot-basic | [github.com/citizenfx/screenshot-basic](https://github.com/citizenfx/screenshot-basic) |

You also need one of these frameworks: ESX, QBCore or Qbox.

{% hint style="info" %}
FC-LspdBadge is free. Use it on your server as much as you like, just don't reupload it or sell it as your own.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fivemcustoms.com/fc-lspdbadge.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
