· 6 years ago · Jun 21, 2019, 01:02 PM
1If you are too lazy, here is the sql request :
2CREATE TABLE IF NOT EXISTS `owned_vehicles` (
3 `id` int(10) NOT NULL AUTO_INCREMENT,
4 `owner` varchar(30) NOT NULL,
5 `state` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Etat de la voiture',
6 `plate` varchar(12) NOT NULL,
7 `vehicle` longtext,
8 `fourrieremecano` tinyint(1) NOT NULL DEFAULT '0',
9 `vehiclename` varchar(50) NOT NULL DEFAULT 'voiture',
10 PRIMARY KEY (`id`),
11 KEY `vehsowned` (`owner`)
12) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4;
13Then go in [essential]/es_extended/client/functions.lua at line 644 change this :
14
15 plate = ESX.Math.Trim(GetVehicleNumberPlateText(vehicle)),
16
17to this :
18
19 plate = GetVehicleNumberPlateText(vehicle),