From 97fd829f6d73b3cb9b94ac0f457bce9716bc4f0b Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Mon, 18 Sep 2023 21:20:21 +0200 Subject: [PATCH] fix: variable Model was previously defined as an argument --- server-data/resources/[esx]/es_extended/client/main.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/server-data/resources/[esx]/es_extended/client/main.lua b/server-data/resources/[esx]/es_extended/client/main.lua index 68f748a83..65e2ab55e 100644 --- a/server-data/resources/[esx]/es_extended/client/main.lua +++ b/server-data/resources/[esx]/es_extended/client/main.lua @@ -519,7 +519,6 @@ end) RegisterNetEvent("esx:GetVehicleType", function(Model, Request) local ReturnedType = "automobile" - local Model = Model local IsValidModel = IsModelInCdimage(Model) if IsValidModel == true or IsValidModel == 1 then local VehicleType = GetVehicleClassFromName(Model)