diff --git a/client/functions.lua b/client/functions.lua index ab0b0e5d..9e92c7a7 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -641,7 +641,7 @@ ESX.Game.GetVehicleProperties = function(vehicle) model = GetEntityModel(vehicle), - plate = GetVehicleNumberPlateText(vehicle), + plate = ESX.Math.Trim(GetVehicleNumberPlateText(vehicle)), plateIndex = GetVehicleNumberPlateTextIndex(vehicle), health = GetEntityHealth(vehicle),