Same as right clicking with the repair wrench. Repairs vehicle fully every part one part at a time, with effects. Do not use this for storing/resetting data.
Used in: VCMod Main addon.
Server Entity Vehicle:VC_repairFull_Admin()
concommand.Add("vehicle_repair_vehicle_fully_admin", function(ply)
local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
if IsValid(ent) and IsValid(ply) and ply:IsAdmin() then
ent:VC_repairFull_Admin()
print("Car all freshen up")
else
print("Invalid entity.")
end
end)