From 993a87fc13476033e67abcabb424d8251ab20124 Mon Sep 17 00:00:00 2001 From: KadDarem Date: Mon, 21 Aug 2023 12:43:28 +0200 Subject: [PATCH 1/2] Fixed the spawn of vehicle with "Utility" class --- [core]/es_extended/client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index af1c9183f..611748716 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -1355,7 +1355,7 @@ function ESX.GetVehicleType(model) local vehicleType = GetVehicleClassFromName(model) local types = { [8] = "bike", - [11] = "trailer", + --[11] = "trailer", [13] = "bike", [14] = "boat", [15] = "heli", From 317c096600744b60e07faa3b98ab17a01de35176 Mon Sep 17 00:00:00 2001 From: KadDarem Date: Thu, 24 Aug 2023 08:29:49 +0200 Subject: [PATCH 2/2] delete commented line --- [core]/es_extended/client/functions.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index 611748716..e7e9cd3a3 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -1355,7 +1355,6 @@ function ESX.GetVehicleType(model) local vehicleType = GetVehicleClassFromName(model) local types = { [8] = "bike", - --[11] = "trailer", [13] = "bike", [14] = "boat", [15] = "heli",