> For the complete documentation index, see [llms.txt](https://lxresources.gitbook.io/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lxresources.gitbook.io/main/paid-scripts/submarine-heist/installation.md).

# Installation

## Dependencies

* [QBCore](https://github.com/qbcore-framework/qb-core)
* [qb-target](https://github.com/qbcore-framework/qb-target)
* [qb-input](https://github.com/qbcore-framework/qb-input)
* [ps-ui](https://github.com/Project-Sloth/ps-ui)
* [ps-dispatch](https://github.com/Project-Sloth/ps-dispatch)
* [Submarine MLO](https://forum.cfx.re/t/mlo-submarine/1755611)

## Installation

* Copy the image from images folder and paste it to your inventory location.
* Copy the item below and paste it to your qb-core/shared/items.lua.
* Copy the codes below and paste it to your qb-policejob/config.lua > Config.SecurityCameras
* Drag and drop Submarine MLO to your streams folder.

## Items

```lua
-- Submarine Heist
['sh_card'] 			 	  	  = {['name'] = 'sh_card', 			  			['label'] = 'Submarine Security Card', 	['weight'] = 0, 		['type'] = 'item', 		['image'] = 'sh_card.png', 				['unique'] = false, 	['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = ''},
```

## Cameras

```lua
[35] = {label = "Submarine CAM#1", coords = vector3(482.6, -3108.51, 7.48), r = {x = 0.0, y = 0.0, z = 5.78}, canRotate = true, isOnline = true},
[36] = {label = "Submarine CAM#2", coords = vector3(507.88, -3155.87, 22.98), r = {x = -30.0, y = 0.0, z = 230.0}, canRotate = true, isOnline = true},
[37] = {label = "Submarine CAM#3", coords = vector3(562.39, -3126.67, 21.19), r = {x = -25.0, y = 0.0, z = -70.0}, canRotate = true, isOnline = true},
```
