ESX Document Robbery


Tebex Link


Hello everyone

It’s a new robbery that players can steal documents from offices then sell them to Pawn Shop

check the video first


you can choose security jobs between police and sheriff for each office in order to get the alarm to defend the place

security can check how many documents have been stolen

after robbery is finished police or sheriff can see how many documents have been stolen to take them back if they arrested the robber

in heavy RP servers we cannot just take everything from robber ! because we need proof right ? in order to do that police will go to the location and can see the stolen amount


the pawnshop


and finally if the robber successfully has escaped from the place then can sell stolen documents to the pawnshop


features

  • you can add as many offices as you want to make that office becomes a robbery place

  • police and sheriff are the security jobs that you can choose for each office you add

  • alarm will trigger to the security job that you have set for each office

  • security jobs can end the robbery at the marker of the robbery

  • pawnshop included

  • you can add more items in pawnshop and set the prices too

  • fully optimized 0.01 ms in idle and 0.02 ms when you near the markers

  • full open source you can edit every part

  • included guidance, sql, image and customized progressBar


config file



Config = {}
Config.Locale = 'en'

local seconds = 1000

Config.PickingUpTimer = 10 * seconds
Config.MaxDistance = 40 -- the distance for robber if he goes too far from the location so robbery will get canceled
Config.TimerBeforeNewRob = 3600 -- one hour cooldown
Config.CancelPickingUp = 'X' -- cancel picking up while player is searching for documents

Config.Offices = {
	-- you can add many offices as you want
	['office1'] = {
		position = { x = -1067.45, y = -247.4, z = 44.02 },
		blip = {
			blipID = 525,
			blipSize = 1.0,
			blipColour = 1,
			blipText = 'Document Robbery',
		},
		lastRobbed = 0,
		secondsRemaining = 200, -- the time that left for robber to rob documents
		securityJob = 'police', -- it can be sheriff or police
		securityNumberRequired = 5, -- count of security job that needed in order to start this robbery, for example 5 police
		robberyAmountCoords = {x = -1054.30, y = -230.77, z = 44.02}, -- after robbery is finished at this location players can see how many documents have been stolen, its useful for polices to check it
		files = { -- you can increase or decrease the files
			document1 = { x = -1062.94, y = -250.13, z = 44.02, minamount = 1, maxamount = 5, status = true}, -- status always must be true
			document2 = { x = -1051.87, y = -232.79, z = 44.02, minamount = 1, maxamount = 5, status = true},
			document3 = { x = -1055.2, y = -232.53, z = 44.02,  minamount = 1, maxamount = 5,  status = true},
			document4 = { x = -1050.52, y = -242.25, z = 44.02, minamount = 1, maxamount = 5, status = true},
			document5 = { x = -1053.73, y = -243.47, z = 44.02, minamount = 1, maxamount = 5, status = true},
			document6 = { x = -1058.34, y = -246.19, z = 44.02, minamount = 1, maxamount = 5, status = true},
			document7 = { x = -1060.31, y = -246.67, z = 44.02, minamount = 1, maxamount = 5, status = true},
			document8 = { x = -1063.12, y = -244.82, z = 44.02, minamount = 1, maxamount = 5, status = true},
			document9 = { x = -1057.59, y = -242.86, z = 44.02, minamount = 1, maxamount = 5, status = true},
			document10 = { x = -1052.91, y = -239.73, z = 44.02, minamount = 1, maxamount = 5, status = true},
		}
		
	},
}

Config.PawnshopLocation =  {x = -18.52, y = 218.92, z = 106.74}

-- Change menu alignment
Config.MenuAlign = "top-left"

Config.PawnshopItems = {
	document = 600, -- price of each item to sell
}

Config.GiveBlack = false -- give black money? if disabled it'll give regular cash.

-- Pawnshop blip
Config.PawnshopBlipText = "Pawnshop"
Config.PawnshopBlipColor = 5
Config.PawnshopBlipSprite = 272




requirements

any version of esx

you can buy the script from Here


my other scripts

Realistic Fast Food
Advanced Lock System
ESX Car Bomb
ESX Books + Reading
VIP List + Test Drive
ESX Craft System
ESX Jobs List

4 Likes

It is unique for entertaining the player
Great as always :grinning: :ok_hand:

1 Like

This is great . good luck

2 Likes

Looks great and interesting.

1 Like