# Installation

The installation of this script is very simple and easy to do.

### Steps

1. Extract the .zip-File anywhere you want
2. Edit the config.lua to your needs
3. Import the database.sql to your FiveM database
4. Copy the XRP\_Blips folder to your resource folder at your FiveM server
5. Edit the server.cfg and add following line: start XRP\_Blips
6. Restart your Server and have fun with this script.

### SQL Database Command

```sql
CREATE TABLE IF NOT EXISTS `xrp_blips` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `CreatedBy` longtext NOT NULL,
  `Name` varchar(24) NOT NULL,
  `Color` int(11) NOT NULL,
  `Icon` int(11) NOT NULL,
  `Position` longtext NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
COMMIT;
```

### QB Core Version

If you are using the QB Core Version of my plugin you have to add following line into "qb-core\client\events.lua" --> PlayerLoaded:

```lua
TriggerEvent('XRP:Client:LoadBlips')
```

### Optional

You can delete the "database.sql" - file after you executet it.


---

# 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://xrp-development.gitbook.io/xrp-scripts/blip-creator/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.
