# 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="https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2FHuyKWl2fAwueNRgF1dDT%2Fd%C3%B6k%C3%BCman%C4%B1.JPG?alt=media&#x26;token=37955713-53c5-4f9b-99dd-1a2b82fcea32" alt=""><figcaption></figcaption></figure>

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

```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="https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2FeB5jP6xBtAZUpF3rLAnk%2Fdokument2%C4%B1.JPG?alt=media&#x26;token=775584ee-edf7-421f-9cf7-0949c1219425" 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="<https://3505378470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmOhVROw9E3kpmAG3JYVe%2Fuploads%2FyfPnbPxUyfAW4yjq2XKK%2Fdrones_stream.zip?alt=media&token=0709f3e5-bacd-481f-bbe2-dc4b36b2f115>" %}

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

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