Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- Config.Framework = "qb-core" -- Specify your framework here, such as ESX or qb-core
- Config.translation = "en" -- Put here your language de/en/esp/pt/it
- ----Discord Webhook----
- Config.ServerName = "Atombude" --Put here your name from the Bot
- Config.BotName = "PlexScripts"
- Config.IconURL = "https://i.imgur.com/PB4LO09.png"
- Config.Titel = "Vehicelregister"
- --Your Discordweblink need to be placed in server/server_functions.lua
- Config.DistanceToGetThePlateAutomation = 8.0 -- Distance at which it checks the nearest vehicle to automatically get the plate
- --Commands
- Config.UseCommands = true -- Set this to true if you want to use commands, and false otherwise
- Config.OpenVehicleRegisterNui = "vregister" -- This is the command to open the vehicleregister
- Config.AllowedJobsOpenNui = { -- Jobs that can open the vehicelregister
- ["landaum"] = 2,
- ["mechanic"] = 1,
- ["police"] = 0,
- -- Add additional jobs and ranks here
- }
- Config.UseCommandRegisterNewVehicle = true -- Set this to false if you don't want to use commands to register a new vehicle
- Config.registernewvehicle = 'vnewregister' -- The command to register a new vehicle
- Config.AllowedJobs = { -- Jobs that can register new vehicles
- ["landaum"] = 2,
- ["mechanic"] = 1,
- -- Add additional jobs and ranks here
- }
- Config.UseCommandChangeVehicleRegister = true -- Set this to false if you don't want to use commands to change the vehicleregistration
- Config.changevehicleregistration ='vchange' --The command to change the vehicleregistration
- Config.AllowedJobsChangeRegistration = { -- Jobs that can change vehicleregistration
- ["landaum"] = 2,
- ["mechanic"] = 7,
- -- Add additional jobs and ranks here
- }
- Config.UseCommandCheckVehicleRegistration = true -- Set this to false if you don't want to use commands to check the vehicle registration (it's better than the police can check it everywhere and get data from the vehicle)
- Config.checkvehicle = 'vcheck' --The command to check the registration
- Config.Jobscanacsess = {"landaum", "mechanic", "police"} -- Jobs that can check vehicleregistration
- Config.UseCommandDeletVehicle = true -- Set this to false if you don't want to use commands to delete the vehicleregistration
- Config.deletvehiclefromregistration = 'vdelete' --The command to delete the registration
- Config.JobscanDeletRegistration = { -- Jobs that can delete vehicleregistration
- ["landaum"] = 2,
- ["mechanic"] = 1,
- -- Add additional jobs and ranks here
- }
- Config.UseTarget = true -- If you want to use targetsystem, you can use both "target" and commands
- Config.targetsystem = "qb-target" -- qb-target or OX-Target
- Config.BonesForTarget = { -- Bones for the targetsystem; currently on the car
- "seat_dside_f",
- "seat_pside_f",
- "seat_dside_r",
- "seat_pside_r",
- "door_dside_f",
- "door_dside_r",
- "door_pside_f",
- "door_pside_r"
- }
- -- Target for add new vehicle registration
- Config.UseTargeRegisterNewVehicle = true --Set this to false if you don't want to use target to register a new vehicle
- Config.TargetIconNewRegister = "fa fa-pager" --Icon for the targetsystem
- Config.TargetLabelNewRegister = "Register Vehicle" --The label for the targetsystem
- -- Target for Change vehicle registration
- Config.UseTargeChangeRegistration = true --Set this to false if you don't want to use target to change the vehicleregistration
- Config.TargetIconChangeRegister = "fa fa-pager" --Icon for the targetsystem
- Config.TargetLabelChangeRegister = "Change Vehicleregister" --The label for the targetsystem
- -- Target for Check vehicle registration
- Config.UseTargeCheckVehicleRegistration = true --Set this to false if you don't want to use target to check the vehicleregistration
- Config.TargetIconCheckCar = "fa fa-pager" --Icon for the targetsystem
- Config.TargetLabelCheckCar = "Check Registration" --The label for the targetsystem
- -- Target for delete vehicle registration
- Config.UseTargeDeletRegistration = true --Set this to false if you don't want to use target to delete a vehicleregistration
- Config.TargetIconDeletVehicleRegistration = "fa fa-pager" --Icon for the targetsystem
- Config.TargetDeletVehicleRegistration = "Delete Registration" --The label for the targetsystem
- Config.TargetDistance = 2.5 --Distance for the targesystem
- --Config Inputmenue
- Config.menuetitel = "Vehicleregister" -- The titel for the vehicleregistermenue
- Config.firstregistartionformat = "YYYY-MM-DD" --For the Database this format its needed (if you change then you must change it in the Database to)
- Config.registrationstartformat = "YYYY-MM-DD" --For the Database this format its needed (if you change then you must change it in the Database to)
- Config.registrationendformat = "YYYY-MM-DD" --For the Database this format its needed (if you change then you must change it in the Database to)
- --Register New Vehicle
- Config.DiableThePlatteInput = true -- Enable/disable the option to manually change the plate; it will automatically fetch it from the nearest vehicle
- Config.carownerrequired = true -- Enable/disable if the car owner is required for the registration
- Config.vehiclecolorrequired = true -- Enable/disable if vehicle color is required for the registration
- Config.CarBrandDisabled = false -- Enable/disable if vehicle brand is required for the registration
- Config.TuningNotesRequired = false -- Enable/disable if vehicle tuning notes is required for the registration
- --Change vehicle Registration
- Config.ChangePlateDisabled = true -- Disable/enable the field to change the plate after registration
- Config.ChangeCarOwnerDiabled = false -- Disable/enable the field to change the car owner after registration
- Config.ChangeFirstRegistration = true -- Disable/enable the field to change the first registration date after registration
- Config.ChangeRegisterStartDisabled = false -- Disable/enable the field to change the start registration date after registration
- Config.ChangeRegisterEndDisabled = false -- Disable/enable the field to change the end registration date after registration
- Config.ChangeCarBrandDisabled = true -- Disable/enable the field to change the car brnad after registration
- Config.ChangeCarColorDiabled = false -- Disable/enable the field to change the car color after registration
- Config.ChangePlateRequired = false -- is the plate required if you change the registration
- Config.ChangeCarOwnerRequired = true -- is the car owner required if you change the registration
- Config.ChangeFirstregistrationRequired = false -- is the first registration required if you change the registration
- Config.ChangeReistationStartRequired = true -- is the register start required if you change the registration
- Config.ChangeReistrationEndRequired = true -- is the register end required if you change the registration
- Config.ChangeVehicelBrandRequired = true -- is the car brand required if you change the registration
- Config.ChangeVehicelColorRequired = true -- is the car color required if you change the registration
- Config.ChangeVehicleTuningRequired = true -- is the tuning notes required if you change the registration
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement