Skip to content

FiveM Integration

SmartCAD includes a FiveM integration resource (smart-ingame) that adds an in-vehicle computer, syncs unit locations to the live map, and integrates with a built-in LoJack system for stolen vehicle tracking.

Requirements

  • ox_lib installed on your FiveM server

1. Generate an API key

In Community Oversight → Integrations, click Generate key. Copy the key, you will paste it into your server.cfg in the next step.

2. Download the resource

On the same page, click Download smart-ingame.zip. Extract it and place the smart-ingame folder in your FiveM server's resources/ directory.

Keeping the resource up to date

The Integrations page shows an Updated since last download badge whenever a SmartCAD update includes changes to the in-game resource. Return to the page and re-download when you see it.

3. Configure server.cfg

Add the following to your server.cfg. ox_lib must start before smart-ingame:

ini
ensure ox_lib
ensure smart-ingame

# Your SmartCAD instance URL (replicated - clients need this to open the in-car computer)
setr smart_cad_url "https://cad.yourcommunity.com"

# API key generated in Community Oversight → Integrations (server-side only)
set smart_cad_api_key "your-key-here"

Security: smart_cad_url uses setr because clients need it to open the CAD. The API key is only read server-side, so use set, not setr, to avoid replicating it to clients.

In-game usage

  • Default keybind: ] (RBRACKET)
  • Opens the CAD when seated as driver or front passenger in an emergency vehicle, or when standing at an open front door of one

SmartCAD - Built for smart FiveM communities