config.lua

Config = {}

Config.General = {
	newESX = true, -- Set to false if you are using the old ESX

	ServerName = "SIX-SERVICES",
	Language = "en",
	ImpoundSystem = true, -- Enable/Disable Impound System
	ImpoundPrice = 5000, -- Price to get your vehicle back from the impound

	RotateCars = true, -- Enable/Disable the rotation of the vehicles in the garage
}

Config.Locales = {
    ['de'] = {
	['private_garage'] = 'Privat Garage',
	['impound_garage'] = 'Abschlepphof',
	['search'] = 'Suche nach Fahrzeugen',
	['park_out'] = 'Ausparken',
	['vehicle_unstored'] = 'Fahrzeug ~g~ausgeparkt',
        ['vehicle_stored'] = 'Fahrzeug ~g~eingeparkt',

        -- Help Notifys
        ['open_garage'] = 'DrΓΌcke ~INPUT_CONTEXT~ um das Garagen Menu zu ΓΆffnen',
        ['open_impound'] = 'DrΓΌcke ~INPUT_CONTEXT~ um das Abschlepphof Menu zu ΓΆffnen',
        ['park_in'] = 'DrΓΌcke ~INPUT_CONTEXT~ um dein Fahrzeug einzuparken',    

        -- Vehicle Data Maxvalues
        ['mass'] = "Gewicht",
        ['performance'] = "Leistung",
        ['top_speed'] = "Top Speed",
        ['brakes'] = "Bremsen",

        -- Failures
        ['unknown_vehicle'] = 'Kein Name',
        ['no_impounded_vehicles'] = "Sie haben kein Fahrzeug auf den Abschlepphof",
        ['no_vehicles_in_garage'] = "Kein Fahrzeug in ihrer Garage gefunden",
        ['no_free_spot'] = "Kein freier Parkplatz gefunden!",
        ['invalid_model'] = "Das Modell existiert im Spiel nicht.",
        ['cant_spawn_vehicle'] = "Fahrzeug konnte nicht erstellt werden.",
        ['not_enough_money'] = "Du hast nicht genug Geld um das Fahrzeug freizukaufen",
    },

    ['en'] = {
	['private_garage'] = 'Private garage',
	['impound_garage'] = 'Impound Station',
	['search'] = 'Search for vehicles',
	['park_out'] = 'Park out',
	['vehicle_unstored'] = 'Vehicle ~g~parked out',
        ['vehicle_stored'] = 'Vehicle ~g~stored',

        -- Help Notifys
        ['open_garage'] = 'Press ~INPUT_CONTEXT~ to open the garage menu',
        ['open_impound'] = 'Press ~INPUT_CONTEXT~ to open the impound menu',
        ['park_in'] = 'Press ~INPUT_CONTEXT~ to park your vehicle',

        -- Vehicle Data Maxvalues
        ['mass'] = "Weight",
        ['performance'] = "Performance",
        ['top_speed'] = "Top Speed",
        ['brakes'] = "Brakes",

        -- Failures
        ['unknown_vehicle'] = 'Unknown Vehicle',
        ['no_impounded_vehicles'] = "You have no vehicles in the impound lot",
        ['no_vehicles_in_garage'] = "No vehicle found in your garage",
        ['no_free_spot'] = "No free parking spot found!",
        ['invalid_model'] = "The model doesn't exist in the game.",
        ['cant_spawn_vehicle'] = "Vehicle couldn't be spawned.",
        ['not_enough_money'] = "You don't have enough money to retrieve the vehicle.",
    }
}

Config.GaragenSystem = {
	VehicleDataMaxvalues = {
		fMass = 2600.0,
		fInitialDriveForce = 0.65,
		fInitialDriveMaxFlatVel = 300.0,
		fBrakeForce = 3.5
	},

	VehicleShowcase = {
		["Car"] = {
			PreviewPoint = vector4(-1266.9479980469, -3010.8173828125, -48.490211486816, 360.0),
			PedCoords = vector3(-1291.6361083984, -3011.99609375, -48.489936828613),
			
			PreviewSteeringAngle = -35.0,
			PreviewCameraFOV = 40.0,
			PreviewCameraLookAtVehicleOffset = vector3(0.0, 0.0, 0.0),
			
			PreviewCameraOffset = vector3(-5.0, 10.0, 1.0),
		},
		["Boat"] = {
			PreviewPoint = vector4(569.01, -3163.51, -0.06, 179.22),
			
			PreviewSteeringAngle = 35.0,
			PreviewCameraFOV = 55.0,
			PreviewCameraLookAtVehicleOffset = vector3(0.25, -0.25, 1.0),
			PreviewCameraOffset = vector3(14.75, -17.98, 10.75),
	
			SpotLightOffset = vector3(14.75, -17.98,16.0),
			SpotLightRotOffset = vector3(-30.0,80.0,-90.0),
			EnableSpotLight = true,
		}
	},

    Impound = {
        {
            label = "Abschlepphof",
            type = {"car"},
            ped = "s_m_m_fiboffice_01",
            accessImpoundPosition = vector4(408.96005249023, -1622.7720947266, 29.291931152344, 234.93132019043),
            parkOutPosition = {
                vector4(404.30206298828, -1645.9182128906, 29.291955947876, 228.92866516113),
                vector4(407.72213745117, -1642.4644775391, 29.291955947876, 228.04827880859),
            },
            blip = {
                sprite = 524,
                scale = 0.6,
                colour = 1
            },
            PreviewConfig = "Car",
        },
		-- More in orginal config.lua
    },

	GaragePoints = {
		{
			label = "Garage", -- Philbox MD
			type = {"car"},
			ped = "s_m_m_fiboffice_01",
			accessGaragePosition = vector4(352.55285644531, -623.36364746094, 29.345197677612, 160.61807250977),
			parkInPosition = vector3(342.50390625, -626.31268310547, 29.293964385986),
			parkOutPosition = {
				vector4(346.36651611328, -621.26684570312, 29.293964385986, 162.22439575195),
				vector4(343.01953125, -619.97332763672, 29.293964385986, 160.38064575195),
			},
			
			blip = {
				sprite = 524,
				scale = 0.6,
				colour = 29
			},
			PreviewConfig = "Car",
		},
		-- More in orginal config.lua
	},
}

Last updated