SMX logo

SMX Documentation

Production-grade Script Knowledge Base

Build 2026.04 Live Docs



License

Free Scripts · FiveM Ready

Product Overview

smx-license is a complete document and license management system for FiveM with identity cards, service IDs, weapon/business licenses, authority workflows and a full NUI document menu.

7Default document types
3Auto-created DB tables
2Frameworks (ESX/QB)
DE/ENBuilt-in translations
Core idea: Players can show documents, while authority jobs can inspect, confiscate and issue documents with configurable per-job permissions.

Main Capabilities

Player Document Menu

Open personal documents, show to self or nearby players, and refresh state without reconnecting.

Authority Actions

Police/DOJ/Justice style workflows for checking IDs, confiscating specific documents and issuing documents.

Mugshot Pipeline

Client captures a ped headshot, converts it to image data via NUI, and stores it in the server database.

Business License Metadata

Business card license supports custom company name persisted in a dedicated table.

Technical Profile

  • Framework mode: Config.Framework = "esx" or "qb"
  • Database layer: mysql-async (declared in fxmanifest.lua)
  • NUI frontend: html/index.html + html/app.js + html/style.css
  • Auto setup tables: smx_license_business_cards, smx_license_confiscations, smx_license_mugshots
  • No custom script exports; integration is event/callback based