Installation

🚀 Installation Guide

Follow these steps to install and configure the QBCore Impound & Clamp System on your FiveM server.


1. Download & Place the Resource

  1. Place the folder in your resources directory

  2. Add the following line to your server.cfg to ensure the script starts after dependencies:

    ensure z-impoundsystem

4. Dependencies

Ensure the following dependencies are installed and working:

  • qb-core

  • oxmysql

  • qb-menu or ox_lib

  • qb-input

  • qb-target or similar targeting system (for ped/vehicle interaction)

5. Database Setup

Import the following SQL into your MySQL database (e.g., via HeidiSQL or phpMyAdmin):

CREATE TABLE IF NOT EXISTS `impounded_vehicles` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `plate` varchar(20) NOT NULL,
  `impounded_by` varchar(50) DEFAULT NULL,
  `impound_until` datetime DEFAULT NULL,
  `bill_amount` int(11) NOT NULL DEFAULT 0,
  `location` longtext DEFAULT NULL,
  `method` varchar(50) NOT NULL DEFAULT 'wheel_clamp',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `reason` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

Last updated