50% OFFER [ESX - QBCore] Treasure Hunt System

Compatible : QBCore / ESX Frameworks
Support : qb-target

:tv: Showcase
:purple_heart: Purchase Here

Other Scripts

Config File

Config = {}

Config.Framework = 'qb-core' -- esx

Config.DiveLocation = {
	{ pos = vec( -3428.21, 975.98, 7.35) }
}

Config.OxygenTime = 2000.00

Config.WayPoint = {
	x = -3182.88,
	
	y = 3041.13
}

Config.PropChest = "xm3_prop_xm3_box_pile_tq_01b"

Config.SpawnBoatLocation = {
	coords = vector3(-3447.6, 978.11, 0.12),
	
	heading = 84.56

}

Config.PriceList = {
	['PirateCoin'] 		= { itemName = 'pirate_coin', 	amount = 400 },

	['DoblonCoin'] 		= { itemName = 'doblon_coin', 	amount = 400 },

	['GoldRing'] 		= { itemName = 'gold_ring', 	amount = 400 },

	['Compass'] 		= { itemName = 'compass', 		amount = 400 },
}

Config.SellItems = {
	['Treasure'] = {	
		{ name = 'pirate_coin' },
	
		{ name = 'doblon_coin' },
	
		{ name = 'gold_ring' },
	
		{ name = 'compass' },
	},
}

Config.Ped = {
	Position = vector3(-3428.39, 975.92, 8.36),
	
	Heading = 271.73,
	
	Model = 'a_m_y_musclbeac_01'
}

Config.TreasuresPrice = {
	['pirate_coin'] 	= 400,

	['doblon_coin'] 	= 250,

	['gold_ring'] 		= 100,

	['compass'] 		= 50
}

Config.MaleClothes = {
	Mask = 175,
	
	Shoes = 67,
	
	Shirt = 17,
	
	LowerBody = 94,
	
	ShirtOverlay = 54,
}

Config.FemaleClothes = {
	Mask = 175,
	
	Shoes = 67,
	
	Shirt = 17,
	
	LowerBody = 94,
	
	ShirtOverlay = 54,
}

Config.DiveFarmLocation = {
	{ coords = vector3(-3404.1, -71.93, -46.1) 		},

	{ coords = vector3(-3386.22, 1725.22, -56.87) 	},

	{ coords = vector3(3667.78, 1965.45, -157.79)	},

	{ coords = vector3(2778.17, -2049.67, -33.72) 	},

	{ coords = vector3(483.63, 7284.15, -33.09) 	},

	{ coords = vector3(-3179.28, 3021.61, -38.91) 	},

	{ coords = vector3(-3214.32, 3672.78, -36.1) 	},

	{ coords = vector3(-1002.64, 6532.92, -33.28) 	},

	{ coords = vector3(784.43, 7362.46, -127.32) 	},
}
--

Any suggestions or questions ?

Please write them down below in the comments section.

Script informations

Code is accessible Yes
Subscription-based No
Requirements No
Support Yes
1 Like