Called after a part of vehicle is repaired by using VCMod wrench.
Used in: VCMod Main addon.
Server GM:VC_playerRepairedPart(Player ply, Entity ent, String class, Integer object)
1. Player ply; Entity
The hero.
2. Entity ent; Entity
The unlucky vehicle.
3. String class; Class
The part type.
4. Integer object; Object
The part numnber.
hook.Add("VC_playerRepairedPart", "CheckForEngineRepairs", function(ply, ent, class, object) if class == "engine" then print(ply:Nick().." has just finished repairing "..VC_GetName(ent).." vehicles "..class..".") end end)