# BP DRONE

Please note that this software file is protected by DMCA protection and its illegal sale or distribution is prohibited.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2FZXEIfskoFl9mYAzbuWah%2FDMCA_badge_trn_100w.png?alt=media&#x26;token=93efa964-e767-468e-be9c-70656d9c81ab" alt=""><figcaption></figcaption></figure>

### INSTALLATION

You can see the short installation here. There are all explanations in Config.

#### <mark style="color:red;">SQL SETUP</mark>

```sql

CREATE TABLE IF NOT EXISTS `bp_dronelist` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(50) DEFAULT NULL,
  `data` longtext DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;


CREATE TABLE IF NOT EXISTS `bp_tablet` (
  `playerid` longtext NOT NULL,
  `tabletdata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tabletdata`))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

```

### <mark style="color:blue;">ADD ITEMS</mark>

Each inventory or system has its own unique item addition feature.

You need to add 6 items. It should be with the item name you see as drones from the config.

<figure><img src="/files/OHgn03htxRK7R7LYUOYs" alt=""><figcaption></figcaption></figure>

<mark style="color:green;">**EXAMPLE QB SHARED CODE :**</mark>

```lua
------- drone --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

drone1                     = { name = 'drone1', label = 'Police Drone', weight = 10, type = 'item', image = 'drone1.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Drone' },
drone2                     = { name = 'drone2', label = 'Blue Drone', weight = 10, type = 'item', image = 'drone2.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Drone' },
drone3                     = { name = 'drone3', label = 'M Red Drone', weight = 10, type = 'item', image = 'drone3.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Drone' },
drone4                     = { name = 'drone4', label = 'Yellow Drone', weight = 10, type = 'item', image = 'drone4.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Drone' },
drone5                     = { name = 'drone5', label = 'Orange Drone', weight = 10, type = 'item', image = 'drone5.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Drone' },
drone6                     = { name = 'drone6', label = 'M Black Drone', weight = 10, type = 'item', image = 'drone6.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A Useable Drone' },
```

<mark style="color:blue;">**EXAMPLE ESX ITEMS**</mark>

<figure><img src="/files/OWlFxE2rhyd7QXLvmBxX" alt=""><figcaption></figcaption></figure>

#### <mark style="color:red;">SERVER CFG</mark>

```lua
ensure drones_stream
ensure bp_drone
```

### <mark style="color:green;">DOWNLOAD ASSETS</mark>

{% file src="/files/NdX2gkRZns2kszmxLPG8" %}

### <mark style="color:orange;">VIDEO</mark>

{% embed url="<https://www.youtube.com/watch?t=0s&v=m8wkbXV-U8w>" %}


---

# 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://docs.0resmon.org/0resmon/bp-resources/bp-drone-1.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.
