Skip to content

Commit

Permalink
feat(es_extended/client): add vehicle type to ESX.Game.GetVehicleProp…
Browse files Browse the repository at this point in the history
…erties
  • Loading branch information
someone005 committed Jan 6, 2025
1 parent a0dfa0f commit 8a76950
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions [core]/es_extended/client/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,7 @@ function ESX.Game.GetVehicleProperties(vehicle)
tyresCanBurst = GetVehicleTyresCanBurst(vehicle),
plate = ESX.Math.Trim(GetVehicleNumberPlateText(vehicle)),
plateIndex = GetVehicleNumberPlateTextIndex(vehicle),
type = GetVehicleType(vehicle),

bodyHealth = ESX.Math.Round(GetVehicleBodyHealth(vehicle), 1),
engineHealth = ESX.Math.Round(GetVehicleEngineHealth(vehicle), 1),
Expand Down

0 comments on commit 8a76950

Please sign in to comment.