mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
New plate function
This commit is contained in:
@@ -324,7 +324,7 @@ function QBCore.Functions.GetVehicleProperties(vehicle)
|
||||
|
||||
return {
|
||||
model = GetEntityModel(vehicle),
|
||||
plate = QBCore.Shared.Trim(GetVehicleNumberPlateText(vehicle)),
|
||||
plate = QBCore.Functions.GetPlate(vehicle),
|
||||
plateIndex = GetVehicleNumberPlateTextIndex(vehicle),
|
||||
bodyHealth = QBCore.Shared.Round(GetVehicleBodyHealth(vehicle), 0.1),
|
||||
engineHealth = QBCore.Shared.Round(GetVehicleEngineHealth(vehicle), 0.1),
|
||||
|
||||
Reference in New Issue
Block a user