mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-03 03:38:50 +00:00
fix: typo
job vehicles can be bought again
This commit is contained in:
@@ -212,7 +212,7 @@ function getPriceFromHash(vehicleHash, jobGrade, type)
|
||||
|
||||
for i = 1, #vehicles do
|
||||
local vehicle = vehicles[i]
|
||||
if GetHashKey(vehicles.model) == vehicleHash then
|
||||
if GetHashKey(vehicle.model) == vehicleHash then
|
||||
return vehicle.price
|
||||
end
|
||||
end
|
||||
|
||||
@@ -397,7 +397,7 @@ function getPriceFromHash(vehicleHash, jobGrade, type)
|
||||
|
||||
for i = 1, #vehicles do
|
||||
local vehicle = vehicles[i]
|
||||
if GetHashKey(vehicles.model) == vehicleHash then
|
||||
if GetHashKey(vehicle.model) == vehicleHash then
|
||||
return vehicle.price
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user