Skip to content

Commit

Permalink
chore: esx_vehicleshop ✏️ Change label to name
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Sep 21, 2024
1 parent d0eb6f2 commit 51499f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ function OpenRentedVehiclesMenu()
local elements = {}

for _, v in ipairs(vehicles) do
local vehicleLabel = GetVehicleFromModel(v.name).label
local vehicleLabel = GetVehicleFromModel(v.name).name

table.insert(elements, {
label = ('%s: %s - <span style="color:orange;">%s</span>'):format(v.playerName, vehicleLabel, v.plate),
Expand Down

0 comments on commit 51499f3

Please sign in to comment.