How to add a vehicle with a new category
In game editor
Creating shop for new job + bossmenu + displayed vehicles
How to add a vehicle with a new category (manual way)








Creating new shop in config file
Blips on minimapLast updated
Config.ShopList = {
-- This is a key and it must be uniq name
["example_shop"] = {
-- what type it is?
Type = "car",
-- do not change
Busy = false,
-- shall we enable 3D text?
Enable3DText = true,
-- What text will the 3D text have?
FloatText = "🛵\n\n bikes + motobikes",
-- a custom enter message
CustomEnterMessage = "Hit ~INPUT_CONTEXT~ to view the bike shop!",
-- Marker position with interactive menu
Position = vector3(-51.9, -1100.71, 26.42),
-- Marker style
MarkerSpawnerStyle = {
style = 37,
size = vector3(1.0, 1.0, 1.0),
color = { r = 247, g = 113, b = 104, a = 125 },
rotate = true,
face = false,
},
-- This will select only certain vehicles, if left nil everything will break.
Job = "dealer",
-- Society name
Society = "society_dealer",
-- Where vehicle will spawn?
SpawnPoints = PDMSpawn,
-- This will lock the marker to be visible and functional for only one job
-- RenderJob = "dealer",
-- Custom message for marker enter
--CustomEnterMessage = "Damn a custom message!",
-- What vehicles will be blocked in this particual shop?
--BlockedVehiclesToTestDrive = {
--GetHashKey("sultan"),
--},
-- What vehicles will be whitelisted in this particual shop?
--WhitelistedVehiclesToTestDrive = {
--GetHashKey("sultan"),
--},
-- this will block every vehicle in the category
--BlockedVehiclesToDriveCategories = {
--"motorcycles", "super"
--},
-- This will block categories with name "motorcycles" and "super", the rest will be displayed.
--BlackListedCategories = {
--"motorcycles", "super"
--},
-- This will only allow to display category "motorcycles" nothing else will be displayed
CategoriesAllowed = {
"motorcycles",
},
-- A custom camera position?
CameraPositions = {
-- same ID's like from "Config.CameraPosition"
["car"] = PDMCamera,
},
},
}