Called when vehicles object becomes repaired. Note that this does not work for engine, unless it becomes fully destroyed. This also does not work for the fuel lid object. Called after object has been damaged.
Used in: VCMod Main addon.
Shared GM:VC_partRepaired(Entity ent, String class, Integer obj)
1. Entity ent; Vehicle
The unlucky vehicle.
2. String class; Class
The class of the object.
3. Integer obj; Object
The number identifier of the object.
hook.Add("VC_partRepaired", "CustomHookName", function(ent, class, obj) print("The vehicles part: "..class.."_"..obj.." has been repaired.") end)