0r CarControl is a car control script for FiveM. Players open a vehicle menu (default key M) to control their car, and a mileage system tracks how far each vehicle has driven.
Features
- Vehicle control menu, opened with M (configurable)
- Controls for each door, hood and trunk, plus engine start and stop
- Vehicle info in the UI such as lock state, plate, fuel and speed
- Mileage system that saves mileage per plate in the database, with an update interval and a list of ignored plates (e.g. admin cars)
- Optimization mode setting (fast, medium, low, ultralow)
Requirements
- ESX or QBCore (set in
2na_core/Config.lua) - oxmysql or mysql-async
2na_core(included in the download)
Installation
- Import
carcontrol.sql(creates thecarmileagestable). - Copy
2na_coreand0r-carcontrolinto your resources folder and set framework and database in2na_core/Config.lua. - Add
ensure 2na_coreand thenensure 0r-carcontrolto your server.cfg.