Installation

Guide for installing nc-carcontrol on your FiveM server.

Prerequisites

  • FiveM Server
  • (Optional) mst_seatbelt for external seatbelt integration

Step 1: Download

Clone or download from GitHub:

git clone https://github.com/noxcore/nc-carcontrol.git

Or download the latest release.

Step 2: Add Resource

  1. Place the nc-carcontrol folder in your server's resources directory
  2. Add to your server.cfg:
ensure nc-carcontrol

Step 3: Configure

Edit config.lua to match your server environment.

Key settings to check:

  • Config.OpenKey — NUI open key (default: 243 = ~ key)
  • Config.PremiumVehicles — Model hashes for push-button ignition
  • Config.DriveModes — Drive mode power multipliers
  • Config.Seatbelt.system'mst_seatbelt' or 'builtin'

See the Configuration guide for all options.

Step 4: Restart Server

refresh
ensure nc-carcontrol

File Structure

nc-carcontrol/
├── config.lua              # Configuration (editable)
├── fxmanifest.lua          # Resource manifest
├── server.lua              # Server script
├── client/
│   └── main.lua            # Client logic (ignition, lock, cruise, etc.)
└── web/
    └── dist/               # Pre-built NUI

Usage

  1. Enter a vehicle (driver seat)
  2. Hold ~ key to open the control panel
  3. Release ~ to close

Ignition (Standard Vehicles)

  • Click key to turn: LOCK → ACC → ON
  • Hold on ACC to START engine
  • Click on ON to go back to ACC (engine off)

Ignition (Premium Vehicles)

  • Click push-button to toggle engine ON/OFF

Cruise Control

  • Activate cruise → auto-uses current vehicle speed
  • Scroll wheel or SET+/SET- to adjust target speed
  • Brake pedal auto-cancels cruise
  • Press unit label to switch MPH ↔ KMH
Last updated 1 month ago