> 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},
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://lxresources.gitbook.io/main/paid-scripts/submarine-heist/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.
