HUD
Functions

GM: part Repaired

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)

Arguments

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.

Example

hook.Add("VC_partRepaired", "CustomHookName", function(ent, class, obj)
	print("The vehicles part: "..class.."_"..obj.." has been repaired.")
end)
Page modified:
...2018-11-02 09:24:40