Add more locations

Here is an explanation on how to add more than one white widow shop using different jobs

Inside Config.Locations, you can see the default one already added, which supports the most popular whitewidow mlo.

{
	Job = "whitewidow", -- Job name
	Blip = { enabled = true, name = "White Widow", coords = vector3(193.24, -244.53, 54.07), sprite = 469, color = 52, scale = 1.0, }, -- Blip Settings
	Vehicle = {
		enabled = true, -- Set false if you do not want to use this feature
		model = '204sWhiteWidowVan', -- Model of the vehicle to spawn
		spawnLocation = vector4(198.45, -277.61, 48.39, 252.49), -- Location at which the vehicle spawns at
		deposit = 100, -- Deposit of borrowing vehicle, given back if returned
		spawnerLocation = vector4(197.76, -265.13, 50.56, 337.94), -- Where the prop spawns to take out a vehicle when targetted
		plate = "WWIDOW", -- The plate number you want the vehicle to have
	},
	Locations = {
		shop = {vector4(175.43, -239.87, 50.17, 170.0), }, -- Where employees go get ingredients and items
		cashRegister = {
			vector4(197.93, -235.71, 54.19, 116.55),
			vector4(188.02, -243.52, 54.98, 251.71),
			vector4(188.87, -241.03, 54.99, 253.36),
		},
		cuttingWeed = { vector4(165.81, -235.84, 49.94, 270.0),}, -- Cutting weed into baggies
		rollingJoints = { vector4(185.65, -241.5, 54.12, 70.72), },
		cooking = { vector4(171.88, -234.58, 50.06, 341.65), },
		customerStorage = { { coords = vector4(188.5, -239.72, 54.12, 70.0), stash = {maxweight = 40000, slots = 5} }, }, -- Trays, etc, Storage anyone can access
		employeeStorage = { { coords = vector4(180.03, -243.29, 53.42, 70.0), stash = {maxweight = 400000, slots = 50} }, }, -- Shared Storage only for employees, for stock
		snackTable = { vector4(187.12, -247.45, 54.24, 71.12), },
		clothing = { -- Use only if you have a clockin system. Check function above.
			vector4(174.17, -235.02, 50.06, 341.65),
			vector4(184.41, -241.88, 54.07, 341.65),
		},
		clockin = { vector4(182.43, -250.22, 53.87, 135.0) },
		plantHarvesting = {
			["weed_skunk_cbd_crop"] = {
				{coords = vector4(164.45, -248.43, 50.06, 340.0), width = 10.0, length = 1.0, },
			},
			["weed_og-kush_cbd_crop"] = {
				{coords = vector4(166.15, -243.68, 50.07, 340.0), width = 10.0, length = 1.0, },
			},
			["weed_white-widow_cbd_crop"] = {
				{coords = vector4(170.62, -241.11, 50.88, 340.0), width = 5.0, length = 3.0, },
			},
			["weed_ak47_cbd_crop"] = {
				{coords = vector4(165.66, -244.79, 50.06, 340.0), width = 10.0, length = 1.0, },
			},
			["weed_amnesia_cbd_crop"] = {
				{coords = vector4(165.31, -246.07, 50.06, 340.0), width = 10.0, length = 1.0, },
			},
			["weed_purple-haze_cbd_crop"] = {
				{coords = vector4(164.94, -247.16, 50.06, 340.0), width = 10.0, length = 1.0, },
			},
			["weed_gelato_cbd_crop"] = {
				{coords = vector4(164.12, -239.78, 50.02, 340.0), width = 5.0, length = 1.0, },
			},
			["weed_zkittlez_cbd_crop"] = {
				{coords = vector4(164.95, -237.9, 50.07, 340.0), width = 5.0, length = 1.0, },
			},
		}
	},
	PropTable = { -- Spawn props at certain locations, already set for white widow mlo provided. Leave empty if nothing required to spawn!
		{ model = "prop_cooker_03", coords = vector4(171.88, -234.58, 50.06, 341.65) }, -- Cooker in basement to cook edibles
		{ model = "prop_park_ticket_01", coords = vector4(197.66, -265.02, 50.55, 340.85) }, -- Parking garage prop
	},
},

What does this mean?

It is quite simple really, all you need to do to create a new location is copy the obove within Config.Locations found within the Config file. Just paste it below any existing locations setup.

  • Job can be changed for each location individually.

  • The Blip can be changed for each location individually.

  • You can set a different job vehicle for each location individually, or even disable for some locations, etc.

  • Locations holds all the target locations specified for a single job location. You can delete elements, such as clockin, if you are not willing to use it.

  • Props can be created for each location individually. This maybe usefull when your mlo does not have a stove, etc.. and you can manually add the prop at a specific location.

Last updated