⚙️Install

Install

  • Server.cfg

  • set mVehicle:Persistent true/false 
  • start the code after the dependencies of ox and your framework

  • update SQL

SQL

ESX

  • Original owned_vehicles

  • to use it 'standalone' use this same database

CREATE TABLE `owned_vehicles` (
  `owner` varchar(60) DEFAULT NULL,
  `plate` varchar(12) NOT NULL,
  `vehicle` longtext DEFAULT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'car',
  `job` varchar(20) DEFAULT NULL,
  `stored` tinyint(4) NOT NULL DEFAULT 0,
  `parking` VARCHAR(60) DEFAULT NULL,
  `pound` VARCHAR(60) DEFAULT NULL
) ENGINE=InnoDB;
  • To inssert new

OX

  • Original table

  • To inssert new

Last updated