๐ ๏ธ Job & Targeting
โ๏ธ Control who can service vehicles and how targeting is handled in the mileage system.
๐ Jobs detection
Job Required: When set to
true
, only players with the specified mechanic job can perform vehicle maintenance.Config.JobRequired = true
Mechanic Job Name: The job name that is allowed to service vehicles.
Config.MechanicJob = 'mechanic'
Minimum Job Grade: The minimum job grade required to perform maintenance tasks.
Config.MinimumJobGrade = 2
๐๏ธโ๐จ๏ธ Targetting script
Use Targeting: Enable or disable the targeting system for interacting with vehicles.
Config.UseTarget = true
Targeting System: Choose the targeting system to use, e.g., "ox" or "qb".
Config.Targeting = 'ox'
โ๏ธ Why use it?
Restricts vehicle maintenance to qualified players and provides a flexible targeting system for interactions.
๐ Example configuration:
Config.JobRequired = true -- Only mechanics can service vehicles
Config.MechanicJob = 'mechanic' -- Mechanic job name
Config.MinimumJobGrade = 2 -- Minimum mechanic grade
Config.UseTarget = true -- Enable targeting system
Config.Targeting = 'ox'
Last updated