** Script Overview: Vehicle Maintenance System**

This FiveM script introduces a realistic Vehicle Maintenance System, enhancing gameplay immersion by requiring players to monitor and maintain their vehicles. It tracks essential vehicle components, including oil and battery levels, and applies effects based on their condition. Below are the key features:
Key Features
π Durability Monitoring
Automatically checks oil and battery durability at configurable intervals.
Players are notified when levels drop below the warning threshold.
βοΈ Realistic Maintenance
Oil Replacement: Players can use the engine oil item to refill their vehicle's oil, including immersive animations and progress indicators.
Battery Replacement: Players can replace a vehicle's battery, restoring performance and preventing engine ignition difficulties.
π‘ In-Game Effects
Low oil levels reduce engine power and health over time.
Low battery levels cause ignition issues, requiring multiple attempts to start the vehicle.
π οΈ Mechanic Animations
Includes animations and interactions for realistic maintenance actions.
Hood opening, engine inspection, and progress bars provide visual feedback during repairs.
π Status Check Command
Players can use the
/checkvehiclecommand to view their vehicle's current oil and battery levels in a sleek menu.
π Notification Integration
Compatible with popular notification systems, including:
QB notifications
mythic_notify
ox_lib
Benefits for Your Server
Increased Immersion: Adds depth to vehicle ownership, encouraging players to maintain their cars.
Enhanced Roleplay: Mechanics can roleplay as service providers for vehicle maintenance.
Customizable: Flexible configuration options for usage rates, warning thresholds, and check intervals.
Requirements
QBCORE framework/ ox_lib
Optional:
mythic_notify,ox_libfor notifications
for suggestions you can write in our discord or open a ticket.
This script elevates vehicle interactions and fosters a dynamic roleplay environment. Add it to your server today to deliver a more engaging automotive experience for your players! πβ¨