Installation

Follow the installation guide to successfully install the script.

Dependencies

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

-- 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

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

Last updated