Skip to content

Commit

Permalink
fix(es_extended/server/functions): index vehicles by plate
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenshiin13 committed Nov 25, 2024
1 parent dda11d9 commit 583eefa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [core]/es_extended/server/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ function ESX.CreateExtendedVehicle(plate, entity, model, props, owner)
props = props,
owner = owner,
}
Core.vehicles[netId] = vehicle
Core.vehicles[plate] = vehicle

local obj = table.clone(Core.vehicleClass)
obj.plate = plate
Expand Down

0 comments on commit 583eefa

Please sign in to comment.