Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Vehicle Scripts

Advanced Vehicle System

Advanced Vehicle System

Co-Dev
Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
Version
1.2.0
File size
7.2 kB
Creator
Co-Dev
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

This script is roleplay focused: it gives your players' vehicles a value and adds degradation, which makes it important to buy new vehicles or keep used ones maintained.

How to start a car

  • Press G to turn the key and put the vehicle in ignition state.
  • Hold G to start the engine.

The key can be changed in cl_config.lua.

RP possibilities

  • New vehicles matter more because their engine starts fast.
  • Used vehicles lose value, even when modded, because of a slower engine start or engine damage based on mileage and missing maintenance.
  • Mechanics can maintain used vehicles to keep engine start time and engine damage low.
  • Vehicles that are not repaired take much longer to start, which gives cops a better chance of catching robbers.

Features

  • Start time grows with the mileage since the last start fix, in steps you define in cl_config.lua
  • Maximum engine health drops with the mileage since the last engine fix, also configurable
  • Mechanic commands /fixengine and /fixstart, protected by ace permissions
  • Optional owner-only ignition and engine start: call TriggerEvent('vehicle_system:setOwner', source, plate) from your vehicle shop after a purchase
  • Owner identifier type selectable in sv_config.lua (steam, license or fivem)
  • Vehicle data (mileage, checks, owner) is stored in the carsystem table and saved automatically at a set interval

Preview

Requirements

  • MySQL Async Library
  • No framework calls are used in the package; ownership works through player identifiers.
  • Note: according to the included readme, the script asks for a license key in sv_config.lua and verifies the server IP on first start.

Installation

  • Import db.sql into your database (use db-update.sql instead when updating from an older version).
  • Copy the codev_vehsystem folder into your resources directory. Do not rename it.
  • Add ensure codev_vehsystem to your server.cfg after mysql-async.
  • Give mechanics or admins the ace permissions, for example add_ace group.admin codev_vehsystem allow.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

Advanced Vehicle System

In your downloads
  • JG Dealerships
    • ESX
    • QBCore, Qbox
    Not for your framework

    JG Dealerships

    JG Scripts

    $30.00$21.00
  • Car Radio
    • ESX
    • QBCore, vRP
    Not for your framework

    Car Music System V3 [Standalone]

    $14.99$10.49
  • Simple ESX HUD FiveM resource preview
    • ESX
    • Standalone, QBCore, Qbox

    Airbags Script

    Big Daddy

    $9.00$6.30
  • mCarControl
    • ESX
    • QBCore
    Not for your framework

    CodeM mCarControl

    CodeM

    $5.00$3.50
  • Contract ESX
    • ESX
    Not for your framework

    okokContract

    okok Scripts

    $13.99$9.79
  • Quasar Vehiclekeys 2.0 FiveM resource preview 2
    • ESX
    • Standalone, QBCore, Qbox

    Quasar Vehiclekeys

    Quasar Scripts

    $10.00$7.00
  • CodeM mVehicleshop v2 FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    CodeM mVehicleshop v2

    CodeM

    $15.00$10.50
  • Smart Motorways
    • ESX
    • QBCore, Qbox, vRP
    Not for your framework

    London Studios Smart Motorways

    London Studios

    $30.00$21.00