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

# Installation

#### Install the resource

1. Download the resource via [keymaster](https://keymaster.fivem.net/asset-grants)
2. Place the markhor\_airsoft folder in the resources folder of your FiveM server
3. Add `ensure markhor_airsoft` to your server.cfg
4. Restart the server

#### Run the following SQL code to your data base

```sql
DROP TABLE IF EXISTS `markhor_airsoft_general`;
CREATE TABLE `markhor_airsoft_general`  (
  `id` int(0) NOT NULL AUTO_INCREMENT,
  `map` longtext DEFAULT NULL,
  `stats` longtext DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB;

DROP TABLE IF EXISTS `markhor_airsoft_personal`;
CREATE TABLE `markhor_airsoft_personal`  (
  `id` int(0) NOT NULL AUTO_INCREMENT,
  `license` longtext DEFAULT NULL,
  `name` longtext DEFAULT NULL,
  `map` longtext DEFAULT NULL,
  `stats` longtext DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB;
```
