Shipped eligibility
The default vehicle policy accepts a vehicle when at least one configured condition matches:- The vehicle is in FiveM emergency class 18 and allowEmergencyClass is enabled
- Its model appears in models; police is included by default
- Its plate appears in plates
- Its model appears in civilianFleetModels
- Its plate appears in fleetPlates
- The driverβs framework job appears in jobs; police, sheriff, ambulance, and fire are included by default
- A configured inventory bridge confirms the driver has the dashcam item
Configure your fleet
Edit eventsDashcam/config/vehicles.lua. The shipped structure is:Example custom fleet
Framework jobs
Job eligibility requires Events Core to be configured for ESX, QBCore, Qbox, or supported automatic detection. The player must be on duty when the framework reports duty state. Job action grades are configured separately in eventsDashcam/config/permissions.lua.Test the policy
After restarting both resources:- Enter an allowed vehicle as the driver and start a recording.
- Enter the same vehicle as a passenger and confirm recording is denied.
- Test an unlisted non-emergency vehicle and confirm it is denied.
- Test every custom job, model, or plate entry you added.
- Change vehicles while recording and confirm the new vehicle must pass eligibility again.

