๐Ÿชdv-businesses

A resource made to make creating new businesses and jobs in the city easy

Whole Config/Naming Your Business

See where it says 'butcherspizza'? Thats where your name goes.

Config.Businesses = {
--[[
				EXAMPLE BUSINESS
	-----------------------------------------------------------------
['butcherspizza'] = {						
		blip = {
			 pos = vector3(413.7889, -347.7513, 47.24205),
			 sprite = 66,
			 color = 46,
			 title = 'Tester Blip',
		},
		---------------------
		---------------------
		registers = {
			[1] = {
				pos = vector3(390.2967, -92.98635, 66.82601),
				zonename = 'Register 1',
				label = 'Charge Customer',
			}	
		},
		---------------------
		---------------------
		stashes = {
			[1] = {
				pos = vector3(303.0386, -108.9984, 68.97036),
				zonename = 'Test Stash',
				label = 'Test Stash',
			}
		},
		---------------------
		---------------------
		crafting = {
		 	[1] = {
				pos = vector3(385.3388, -265.0684, 53.29169),
				zonename = "testerrr",
				label = "Test Craft",
				slots = 2,
					items = {
						    [1] = {
								name = "lockpick",
								amount = 25,
								costs = {
								     ["plastic"] = 22,
								     ["metalscrap"] = 22,
								},
								type = "item",
								slot = 1,
								threshold = 0,
								points = 0,	
							},
							[2] = {
								name = "id_card",
								amount = 25,
								info = "Plastic x22 | Metalscrap x22",
								costs = {
								     ["plastic"] = 22,
								     ["metalscrap"] = 22,
								},
								type = "item",
								slot = 2,
								threshold = 0,
								points = 0,	
							},
						},
			},
		},
		---------------------
		---------------------
		store = {
			  pos = vector3(429.4429, -313.8276, 49.51481),
				zonename = 'test',
				label = "Test Shop",
				slots = 2,
					items = {
						[1] = {
							name = 'weapon_pistol',
							price = 0,
							amount = 25,
							info = {},
							type = "item",
							slot = 1,
						},
					}
		},

		---------------------
		---------------------
		changingrooms = {
			[1] = {
				pos = vector3(442.3119, -283.7319, 48.98677),
				zonename = 'Test Outfits',
				label = 'Test Outfits',
			}
		},
		---------------------
		---------------------
		elevators = {
			[1] = {
				label = "Casino Elevator 1",					
				floors = {									
					[1] = {							
						pos = vector3(922.0347, 28.7169, 71.83386),	
						zonename = 'Casino Floor',			
						label = 'Casino Floor',				
						spawnpos = vector3(922.0347, 28.7169, 71.83386),
						restriction = {}		
					},
					[2] = {							

						pos = vector3(922.0347, 28.7169, 71.83386),	

						zonename = 'Casino CEO Office',		

						label = 'CEO Office',		

						spawnpos = vector3(922.0347, 28.7169, 71.83386),

						restriction = {job = "casino", grade = "1"}	

					},
				},
			}
		},
		repairstations = {
			[1] = {
				zonename = "PawnShopRepairBench", 				
				pos = vector3(166.4509, -1318.066, 29.19677),   		
				canrepairweapons = true,				
				repairableItems = {					
						{name = "gameboy"},		
				},	
			},
		},
		repairstations = {								
			[1] = {
				zonename = "PawnShopRepairBench",				
				benchName = 'pawnshopbench', 					
				pos = vector3(164.8465, -1317.214, 29.2082),   			
				canrepairweapons = true,					
				weaponrepaircost = 550,						
				repairableItems = {						
						[1] = {name = "devisegameboy", price = 250},
						[2] = {name = "gameboy", price = 200},
						[3] = {name = "redgameboy", price = 200},
						[4] = {name = "darkbluegameboy", price = 200},
						[5] = {name = "tealgameboy", price = 200},
						[6] = {name = "greengameboy", price = 200},
						[7] = {name = "pinkgameboy", price = 200},
						[8] = {name = "graygameboy", price = 200},	
				},	
			},
		},
		scrapstations = {								
			[1] = {
			zonename = "PawnShopScrapBench",		
			benchName = 'pawnshopscrapbench', 		
			pos = vector3(171.6923, -1313.736, 29.34157),
			items = {
   				[1] = {
       				item = "goldchain",
       				rewards = {
           					[1] = {
               					item = "goldbar",
               					amount = 1
           					}
       				},
       				meltTime = 0.15
   				},
			}
		    }
		},
	},
	--]]
	----------------------------END OF EXAMPLE BUSINESS-----------------------------------------

Config Sections Broken Down

blip
blip = {
        pos = vector3(0, 0, 0),
        sprite = 66,                
	color = 46,
	title = 'Tester Blip',
},
  • pos: This is the position of the blip. You can do /copycoords to get your position in game.

  • sprite: The blip image/icon. Find them here: https://docs.fivem.net/docs/game-references/blips/

  • color: Color of your blip. Colors can be found on the same page as above at the very bottom

  • title: Name that will show up on the map

NOTE: You can leave the table blank if you don't want a blip! Like so:

blip = {}
registers
registers = {
                [1] = {
 		      pos = vector3(0, 0, 0),
		      zonename = 'Register 1',
                      label = 'Charge Customer',
	        },			
},
  • pos: This is the position of the register. Do /noclip and go inside of the register, then do /copycoords to get your position in game.

  • zonename: You won't see this, but still make sure it's not the same name as another zonename

  • label: This is what will come up when you third eye the register

NOTE: You can leave the table blank if you don't want or need registers! Like so:

registers = {}
stashes
stashes = {
              [1] = {
		      pos = vector3(0, 0, 0),
		      zonename = 'Test Stash',
	              label = 'Test Stash',	
	      },
},
  • pos: This is the position of the stash. Do /noclip and go inside/directly on the point of wherever you want the stash to be, then do /copycoords to get your position in game.

  • zonename: You won't see this, but still make sure it's not the same name as another zonename

  • label: This is what comes up when you walk by the stash

NOTE: You can leave the table blank if you don't want or need stashes! Like so:

stashes = {}
crafting
[1] = {
        pos = vector3(0, 0, 0),
	zonename = "testerrr",
	label = "Test Craft",
	slots = 1,
	items = {
  • pos: This is the position of the crafting spot. Do /noclip and go inside/directly on the point of wherever you want the stash to be, then do /copycoords to get your position in game.

  • zonename: You won't see this, but still make sure it's not the same name as another zonename

  • label: This is what comes up when you walk by the stash

  • slots: The amount of items you want to be able to craft at this spot

  • items: See just below this for information on items

items = {
	[1] = {
		name = "membershipcard",
		amount = 500,
		costs = {
			["blankmembershipcard"] = 1,
			["goldbar"] = 1,
		},
		type = "item",
		slot = 1,
		threshold = 0,
		points = 0,	
		},	
},
  • name: The name of the item you want craftable

  • amount: Amount of that craftable item you can make in that station

  • costs: The items required to make your craftable, the number is the quantity needed

  • type: "weapon" or "item" but most of the time this stays as "item"

  • slot: Which slot in the crafting station this item will be in (Has to be different for every craftable. Just increment by 1 starting at 1. Example: 1,2,3,4)

  • threshold: The amount of "crafting xp" it takes to craft this item (Leave this as 0)

  • points: The amount of crafting xp you get for crafting the item (Leave this as 0)

NOTE: You can leave the table blank if you don't want or need crafting spots! Like so:

crafting = {}

Last updated