> For the complete documentation index, see [llms.txt](https://docs.imperialcad.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imperialcad.app/api-and-integrations/fivem-installation.md).

# FiveM Installation

***

### Features

* Built-In Tablet to use ImperialCAD
* 25+ Developer API Endpoints & Exports
* ERS Integration
* QBCore, QBox, and NAT2K15 Framework Integration
* LiveMap Integration
* Emergency Services Features
* Civilian Features
* Duty Features
* Customizable Location Data
* And more...

***

### Installation

{% embed url="<https://www.youtube.com/watch?v=WwxoopUJksk>" %}

{% stepper %}
{% step %}

#### [Download](https://github.com/Zippy01/ImperialCAD)

> **Required Dependency:** \
> [OXLib](https://github.com/overextended/ox_lib/releases/latest)
> {% endstep %}

{% step %}

#### Place Into `Resources` Directory

* Place the `ImperialCAD` resource into your FiveM resources folder.
  {% endstep %}

{% step %}

#### Configure `config.lua`

* Our configuration file includes a wide range of options. Be sure to review each setting carefully, as certain features such as [ERS integration](/api-and-integrations/fivem-installation/offered-plugins/ers-integration.md) may require additional setup steps.
  {% endstep %}

{% step %}

#### Ensure Resource

* Place `ensure ImperialCAD` in your `server.cfg`
  {% endstep %}

{% step %}

#### Configure Convars

* Find the community ID and API key in `Admin Panel > Settings > API`.
* Add to `server.cfg`.

```lua
setr imperial_community_id "COMMUNITY_ID_HERE" 
set imperialAPI "API_KEY_HERE"
```

{% hint style="info" %}
If you receive an error regarding missing convars, make sure the convars are set the top of your `server.cfg`
{% endhint %}
{% endstep %}

{% step %}

#### Restart Server

* **Finished**! Your in-game integration is now complete. Enjoy the experience!
  {% endstep %}
  {% endstepper %}

***

### Additional Resources

* These resources are free and optional that have yet to make it to our main resource.

{% content-ref url="/pages/HRb6hFTfR6zPjbKJ3qYm" %}
[Additional Resources](/api-and-integrations/fivem-installation/additional-resources.md)
{% endcontent-ref %}

#### Paid Resources

* These resources are paid assets that are compatible with ImperialCAD.

{% content-ref url="/pages/pWqnz4X6jKj7hWZogUgn" %}
[Paid Resources](/api-and-integrations/fivem-installation/paid-resources.md)
{% endcontent-ref %}

### Offered Plugins

* A list of all plugins we use in the ImperialCAD resource.

{% content-ref url="/pages/6mIcF7lYzvHsd7ZrYmWu" %}
[Offered Plugins](/api-and-integrations/fivem-installation/offered-plugins.md)
{% endcontent-ref %}

***

### Commands

{% hint style="info" %}
Commands may now be customized per server in the resource config.
{% endhint %}

| Command               | Description                                                                                | Example                        |
| --------------------- | ------------------------------------------------------------------------------------------ | ------------------------------ |
| `/setciv (ssn)`       | Sets the civilian                                                                          | /setciv 43294343               |
| `/getciv`             | Gets the civilian information                                                              | /getciv                        |
| `/clearciv`           | Clears the set civilian                                                                    | /clearciv                      |
| `/id`                 | Shows the current set civilians DL                                                         | /id                            |
| `/giveid`             | Allows you to show the nearest player your set civilians DL                                | /giveid                        |
| `/regveh`             | Registers the vehicle the user is in                                                       | /regveh                        |
| `/tablet`             | Shows the tablet                                                                           | /tablet                        |
| `/911 (description)`  | <p>Sends a 911 call <br>- If civilian is set, it will send the civilian's information.</p> | /911 There's a man with a gun  |
| `/a911 (description)` | Sends an anonymous 911 call                                                                | /a911 There's a man with a gun |
| `/panic`              | Sends a panic notification in the CAD                                                      | /panic                         |
| `/rplate (plate)`     | Runs the plate                                                                             | /rplate 3PA7AW                 |
| `/ts (details)`       | Starts a traffic stop call and attaches the unit                                           | /ts Plate: 39ALP23             |
| `/attach (callnum)`   | Attaches a unit to a call                                                                  | /attach 43                     |

***

### Contributing

> Fork, modify, and submit pull requests to contribute.

***

### License

> Imperial Software Solutions, LLC. Unauthorized copying, distribution, or use without explicit permission is prohibited and may result in legal action.

***


---

# 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.imperialcad.app/api-and-integrations/fivem-installation.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.
