HUD
Functions

GM: engine Exploded

Called when a vehicles engine has exploded.

Used in: VCMod Main addon.

Server GM:VC_engineExploded(Entity ent, Boolean silent)

Arguments

1. Entity ent; Vehicle
The unlucky vehicle.

2. Boolean silent; Silent
If the explosion was silent or not (no effect, engine simply died).

Example

hook.Add("VC_engineExploded", "CustomHookName", function(ent, silent)
	print("This vehicle has been damaged a lot, it has exploded, sadly: "..ent:VC_getName()..".")
	if silent then print("Thank got it was a silent explosion") end
end)
Page modified:
...2018-11-02 09:24:37