Skip to content

Commit

Permalink
fix: variable Model was previously defined as an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Sep 18, 2023
1 parent 15a33d2 commit 97fd829
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server-data/resources/[esx]/es_extended/client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 97fd829

Please sign in to comment.