Server Entity Vehicle:VC_repairHealth(Integer amount)
1. Integer amount; Amount of health.
The amount of health that needs to be given to the vehicle in VCMod health units.
concommand.Add("vehicle_repairengineabit", function()
local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
if IsValid(ent) then
ent:VC_repairHealth(20)
print("Givig some extra health.")
else
print("Invalid entity.")
end
end)