Server Entity Vehicle:VC_repairPart(String class, Integer part)
1. String class; Class
The class of the object.
2. Integer part; Part
The part you want to fix.
concommand.Add("vehicle_repair_front_left_wheel", function()
local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
if IsValid(ent) then
ent:VC_repairPart("wheel", 1)
print("Your front left wheel is now repaired.")
print("Repairing vehicles front left wheel.")
else
print("Invalid entity.")
end
end)