Advertisement
PlexScripts

PlexScripts Vehicleregister Config

Aug 11th, 2024 (edited)
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.09 KB | Gaming | 0 0
  1. Config = {}
  2.  
  3. Config.Framework = "qb-core" -- Specify your framework here, such as ESX or qb-core
  4. Config.translation = "en" -- Put here your language de/en/esp/pt/it
  5.  
  6. ----Discord Webhook----
  7.  
  8. Config.ServerName = "Atombude" --Put here your name from the Bot
  9. Config.BotName = "PlexScripts"
  10. Config.IconURL = "https://i.imgur.com/PB4LO09.png"
  11. Config.Titel = "Vehicelregister"
  12.  
  13. --Your Discordweblink need to be placed in server/server_functions.lua
  14.  
  15. Config.DistanceToGetThePlateAutomation = 8.0 -- Distance at which it checks the nearest vehicle to automatically get the plate
  16.  
  17. --Commands
  18. Config.UseCommands = true -- Set this to true if you want to use commands, and false otherwise
  19. Config.OpenVehicleRegisterNui = "vregister" -- This is the command to open the vehicleregister
  20. Config.AllowedJobsOpenNui = { -- Jobs that can open the vehicelregister
  21.     ["landaum"] = 2,
  22.     ["mechanic"] = 1,
  23.     ["police"] = 0,
  24.    -- Add additional jobs and ranks here
  25. }
  26. Config.UseCommandRegisterNewVehicle = true -- Set this to false if you don't want to use commands to register a new vehicle
  27. Config.registernewvehicle = 'vnewregister' -- The command to register a new vehicle
  28. Config.AllowedJobs = { -- Jobs that can register new vehicles
  29.     ["landaum"] = 2,
  30.     ["mechanic"] = 1,
  31.    -- Add additional jobs and ranks here
  32. }
  33. Config.UseCommandChangeVehicleRegister = true -- Set this to false if you don't want to use commands to change the vehicleregistration
  34. Config.changevehicleregistration ='vchange' --The command to change the vehicleregistration
  35. Config.AllowedJobsChangeRegistration =  { -- Jobs that can change vehicleregistration
  36.     ["landaum"] = 2,
  37.     ["mechanic"] = 7,
  38.     -- Add additional jobs and ranks here
  39. }
  40. 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)
  41. Config.checkvehicle = 'vcheck' --The command to check the registration
  42. Config.Jobscanacsess = {"landaum", "mechanic", "police"} -- Jobs that can check vehicleregistration
  43.  
  44. Config.UseCommandDeletVehicle = true -- Set this to false if you don't want to use commands to delete the vehicleregistration
  45. Config.deletvehiclefromregistration = 'vdelete' --The command to delete the registration
  46. Config.JobscanDeletRegistration =  { -- Jobs that can delete vehicleregistration
  47.     ["landaum"] = 2,
  48.     ["mechanic"] = 1,
  49.     -- Add additional jobs and ranks here
  50. }
  51. Config.UseTarget = true  -- If you want to use targetsystem, you can use both "target" and commands
  52. Config.targetsystem = "qb-target"    -- qb-target or OX-Target
  53. Config.BonesForTarget = { -- Bones for the targetsystem; currently on the car
  54.         "seat_dside_f",
  55.         "seat_pside_f",
  56.         "seat_dside_r",
  57.         "seat_pside_r",
  58.         "door_dside_f",
  59.         "door_dside_r",
  60.         "door_pside_f",
  61.         "door_pside_r"
  62.       }
  63.        
  64.  
  65. -- Target for add new vehicle registration
  66. Config.UseTargeRegisterNewVehicle = true --Set this to false if you don't want to use target to register a new vehicle
  67. Config.TargetIconNewRegister   = "fa fa-pager" --Icon for the targetsystem
  68. Config.TargetLabelNewRegister  = "Register Vehicle" --The label for the targetsystem
  69.  
  70. -- Target for Change vehicle registration
  71. Config.UseTargeChangeRegistration  = true --Set this to false if you don't want to use target to change the vehicleregistration
  72. Config.TargetIconChangeRegister = "fa fa-pager" --Icon for the targetsystem
  73. Config.TargetLabelChangeRegister = "Change Vehicleregister" --The label for the targetsystem
  74.  
  75. -- Target for Check vehicle registration
  76. Config.UseTargeCheckVehicleRegistration = true --Set this to false if you don't want to use target to check the vehicleregistration
  77. Config.TargetIconCheckCar = "fa fa-pager" --Icon for the targetsystem
  78. Config.TargetLabelCheckCar = "Check Registration" --The label for the targetsystem
  79.  
  80. -- Target for delete vehicle registration
  81. Config.UseTargeDeletRegistration = true --Set this to false if you don't want to use target to delete a vehicleregistration
  82. Config.TargetIconDeletVehicleRegistration = "fa fa-pager" --Icon for the targetsystem
  83. Config.TargetDeletVehicleRegistration = "Delete Registration" --The label for the targetsystem
  84.  
  85. Config.TargetDistance = 2.5 --Distance for the targesystem
  86.  
  87.  
  88. --Config Inputmenue
  89.  
  90. Config.menuetitel = "Vehicleregister" -- The titel for the vehicleregistermenue
  91. Config.firstregistartionformat = "YYYY-MM-DD" --For the Database this format its needed (if you change then you must change it in the Database to)
  92. Config.registrationstartformat = "YYYY-MM-DD" --For the Database this format its needed (if you change then you must change it in the Database to)
  93. Config.registrationendformat = "YYYY-MM-DD" --For the Database this format its needed (if you change then you must change it in the Database to)
  94.  
  95.  
  96. --Register New Vehicle
  97. Config.DiableThePlatteInput = true -- Enable/disable the option to manually change the plate; it will automatically fetch it from the nearest vehicle
  98. Config.carownerrequired = true -- Enable/disable if the car owner is required for the registration
  99. Config.vehiclecolorrequired = true  -- Enable/disable if vehicle color is required for the registration
  100. Config.CarBrandDisabled = false -- Enable/disable if vehicle brand is required for the registration
  101. Config.TuningNotesRequired = false -- Enable/disable if vehicle tuning notes is required for the registration
  102.  
  103.  
  104. --Change vehicle Registration
  105. Config.ChangePlateDisabled = true  -- Disable/enable the field to change the plate after registration
  106. Config.ChangeCarOwnerDiabled = false -- Disable/enable the field to change the car owner after registration
  107. Config.ChangeFirstRegistration = true -- Disable/enable the field to change the first registration date after registration
  108. Config.ChangeRegisterStartDisabled = false -- Disable/enable the field to change the start registration date after registration
  109. Config.ChangeRegisterEndDisabled = false -- Disable/enable the field to change the end registration date after registration
  110. Config.ChangeCarBrandDisabled = true -- Disable/enable the field to change the car brnad after registration
  111. Config.ChangeCarColorDiabled = false -- Disable/enable the field to change the car color after registration
  112.  
  113. Config.ChangePlateRequired = false -- is the plate required if you change the registration
  114. Config.ChangeCarOwnerRequired = true -- is the car owner required if you change the registration
  115. Config.ChangeFirstregistrationRequired = false -- is the first registration required if you change the registration
  116. Config.ChangeReistationStartRequired = true -- is the register start required if you change the registration
  117. Config.ChangeReistrationEndRequired = true -- is the register end required if you change the registration
  118. Config.ChangeVehicelBrandRequired = true -- is the car brand required if you change the registration
  119. Config.ChangeVehicelColorRequired = true -- is the car color required if you change the registration
  120. Config.ChangeVehicleTuningRequired = true -- is the tuning notes required if you change the registration
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement