βŒ›Installation

Step by step to install and configure the script according to your server's framework.

Step 1: Download & Place

  1. Download the latest version of the script from your keymaster at cfx.portal.rearrow-up-right.

  2. Unpack the script into your server's resources folder.

  3. Add ensure rx56_permvehicles to your server.cfg.

Step 2: Framework Configuration (config.lua)

Open the config.lua file and adjust the settings based on your core:

A) For ESX Legacy

Config.AutomaticSave = true
Config.AutomaticSave_owned = true 
Config.AutomaticSave_owned_core = 'ESX' 
Config.GarageColumn.ESX = 'stored' -- Change if your garage uses a different column (e.g., 'state')

B) For QBCore / Qbox

Config.AutomaticSave = true
Config.AutomaticSave_owned = true 
Config.AutomaticSave_owned_core = 'QB' 
Config.GarageColumn.QB = 'state' -- Change if your garage uses a different column

C) For Standalone Servers (No Framework)

Config.AutomaticSave = false -- Or true, depending on your custom setup
Config.AutomaticSave_owned = false -- CRITICAL: Must be false for Standalone!
Config.SQLTableName = 'rx56_permvehicles' -- The script will use this custom table

Step 3: Database Setup

πŸŽ‰ Auto-Setup System: You DO NOT need to run any .sql file manually!

Just start your server. The script features an automatic database builder that will automatically create the required tables (like rx56_permvehicles) or add the necessary missing columns (pos, mods, hide, etc.) to your existing framework tables safely.

Last updated