# Installation

Before using this resource, make sure you have installed all required dependencies.

### Required Dependencies

* [ox\_lib](https://github.com/overextended/ox_lib)
* [oxmysql](https://github.com/overextended/oxmysql)
* [msk\_bridge](https://github.com/Mrmisio345/msk_bridge)

### Install Dependencies

#### 1. Download all required resources

Download the following resources:

* `ox_lib`
* `oxmysql`
* `msk_bridge`

#### 2. Place them in your server resources folder

Upload all resources into your server’s `resources` folder.

#### 3. Add them to your `server.cfg`

Make sure the following lines are included in your `server.cfg`:

```cfg
ensure ox_lib
ensure oxmysql
ensure msk_bridge
ensure msk_idcards
```

#### 4. Adapt the required framework functions

Before starting the resource, configure the required functions in:

* `data/config.lua`

These functions should be adjusted to your framework and server systems:

* `GetPlayerLicenses`
* `GetPhoneNumber`
* `GetLicenseExpiry`
* `SendProximityMessage`

#### 5. Configure your document types

Make sure your document types, jobs, and badge settings are configured correctly in:

* `data/config.lua`

#### 6. Restart your server

Restart your server once everything has been added.

### Important

* `ox_lib` must start before this resource
* `oxmysql` must start before this resource
* `msk_bridge` must start before this resource
* Required config functions must be adapted before use


---

# Agent Instructions: 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:

```
GET https://mskscripts.gitbook.io/mskscripts/scripts/id-cards/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
