πŸ“ƒHow to Install

This page will give you a brief overlook on how to install this resource

1

Download the resource

Download the latest version of the script from your keymaster

2

Placement

Put it in your server directory somewhere

3

Add items

Change hint type Add the following to your ox_inventory/data/items.lua

				['bobcatkeycard'] = {
					label = 'Bobcat Security Card',
					weight = 1000,
					stack = true,
					close = true,
					description = 'Key card used on third Bobcat security door..',
				},
				
				['c4_bomb'] = {
					label = 'C4 Explosive',
					weight = 500,
					stack = true,
					close = true,
					description = 'A dangerous explosive device with a timer',
				},
				
				['thermitec'] = {
					label = 'Thermite Charge',
					weight = 1000,
					stack = true,
					close = true,
					description = 'Go Burning',
				},
				['advancedlockpick_green'] = {
					label = 'Advanced Lockpick Green',
					weight = 500,
					stack = true,
					close = true,
					description = 'If you lose your keys a lot this is very useful... Also useful to open your beers',
				},
				['datadrive'] = {
					label = 'USB Cameras',
					weight = 500,
					stack = true,
					close = true,
					description = 'USB memory stick for all recordings from Bobcat Security cameras',
				},	
4

Adding the locks

  1. Transfer the configuration file (bobcat.lua) which you can find in the qb-doorlock\configs folder and put it in your qb-doorlock/nui_doorlock!

  2. If you haven't run the whole config folder, run bobcat.lua in your fxmanifest.lua by default, you shouldn't because it's made to automatically read your files.

  3. The bobcat.lua file will re-declare in the vt-bobcat script directory in the qb-doorlock folder

5

Add cameras

Integrate this into your qb-police job/config.lua / The numbers must be exactly as written below. If you have existing ones just change their places!

        [35] = {label = "Bobcat Security Heist CAM#1", coords = vector3(875.5, -2256.71, 33.94), r = {x = -35.0, y = 0.0, z = 282.73}, canRotate = true, isOnline = true},
        [36] = {label = "Bobcat Security Heist CAM#2", coords = vector3(884.56, -2264.42, 32.18), r = {x = -35.0, y = 0.0, z = 56.2}, canRotate = true, isOnline = true},
        [37] = {label = "Bobcat Security Heist CAM#3", coords = vector3(884.3, -2265.49, 31.95), r = {x = -35.0, y = 0.0, z = 139.05}, canRotate = true, isOnline = true},
        [38] = {label = "Bobcat Security Heist CAM#4", coords = vector3(879.4, -2277.04, 32.12), r = {x = -35.0, y = 0.0, z = 319.12}, canRotate = true, isOnline = true},
        [39] = {label = "Bobcat Security Heist CAM#5", coords = vector3(896.11, -2277.66, 32.03), r = {x = -35.0, y = 0.0, z = 123.34}, canRotate = true, isOnline = true},
        [40] = {label = "Bobcat Security Heist CAM#6", coords = vector3(894.63, -2295.43, 31.72), r = {x = -35.0, y = 0.0, z = 40.27}, canRotate = true, isOnline = true},
        [41] = {label = "Bobcat Security Heist CAM#4", coords = vector3(876.01, -2290.24, 32.07), r = {x = -35.0, y = 0.0, z = 252.37}, canRotate = true, isOnline = true},
6

New Support Doorlock - OX_Doorlock

INSERT INTO `ox_doorlock` (`id`, `name`, `data`) VALUES
(23, 'bobcatfirst', '{\"groups\":{\"police\":0},\"doors\":[{\"heading\":355,\"model\":-1259801187,\"coords\":{\"x\":883.4810791015625,\"y\":-2258.52978515625,\"z\":30.56095123291015}},{\"heading\":175,\"model\":-1563799200,\"coords\":{\"x\":880.8958740234375,\"y\":-2258.308349609375,\"z\":30.56095123291015}}],\"coords\":{\"x\":882.1884765625,\"y\":-2258.4189453125,\"z\":30.56095123291015},\"maxDistance\":2,\"doorRate\":2,\"state\":1}'),
(27, 'bobcatsecond', '{\"heading\":175,\"groups\":{\"police\":0},\"model\":-551608542,\"doors\":false,\"coords\":{\"x\":881.6177978515625,\"y\":-2264.66943359375,\"z\":30.61765670776367},\"maxDistance\":2,\"doorRate\":2,\"state\":1}'),
(28, 'bobcatthird', '{\"groups\":{\"police\":0},\"doors\":[{\"heading\":355,\"model\":933053701,\"coords\":{\"x\":882.62060546875,\"y\":-2268.408203125,\"z\":30.61769485473632}},{\"heading\":175,\"model\":933053701,\"coords\":{\"x\":880.030517578125,\"y\":-2268.181640625,\"z\":30.61769485473632}}],\"coords\":{\"x\":881.3255615234375,\"y\":-2268.294921875,\"z\":30.61769485473632},\"maxDistance\":2,\"doorRate\":2,\"state\":1}'),
(29, 'bobcatfourth', '{\"heading\":355,\"groups\":{\"police\":0},\"model\":-311575617,\"doors\":false,\"coords\":{\"x\":882.3375244140625,\"y\":-2295.2734375,\"z\":30.61765670776367},\"maxDistance\":2,\"doorRate\":2,\"state\":1}');

Last updated