PREVIEW > Vehicles Crafting | Fivem Script
last-vehiclecraft introduces a complete and fully persistent vehicle construction and assembly system for FiveM.
Players can build vehicles part-by-part, using materials, stages, and fitment logic, with every build tracked in MySQL and restored after server restarts. Fully compatible with QBOX, QBCore and ESX.
Features
Fully Persistent Vehicle Builds
Each ongoing build is saved in the database, including coordinates, heading, model, stages, installed parts, and external fitment status (doors, hood, trunk, wheels).
All builds automatically respawn on server restart with perfect world placement, maintaining accurate ground alignment and preventing floating or shifted vehicles.
Interactive Building System
Players assemble vehicles step-by-step using required items.
Stages include body, engine, internal components, external parts, and wheels.
The system validates materials using ox_inventory or qb-inventory, supports stack removal, and prevents over-building with configurable build limits.
Every action (installing parts, assembling components, completing stages) is synced server-side to guarantee consistency.
Owner & Admin Build Management
Owners can rename, manage, or delete their builds, with confirmation dialogs to avoid accidental actions.
Admins have access to a management panel with build lists, deletion tools, and debugging utilities.
The system prevents duplication by checking if a build is already active before spawning or replacing it.
Extra Features
-
Automatic cleanup for invalid or deleted builds
-
Configurable max build limit per player
-
Anti-dupe protection when placing new builds
-
Localized UI with support for EN, IT, ES, FR
-
ox_target and qb-target integration for placement and interaction
-
Smooth ground detection to ensure correct vehicle alignment after server restart
Dependencies
-
ox_lib -
oxmysql -
ox_inventory,qb-inventory or core_inventory -
qbx_core,qb-core or es_extended