Sets the vehicles health to 0, and makes the vehicle inoperable.
Used in: VCMod Main addon.
Server Entity Vehicle:VC_explodeEngine(Boolean silent)
1. Boolean silent; Silent.
Will destroy the car silently. Will not damage the players, make any effects.
concommand.Add("vehicle_makecargoboom", function()
local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity
if IsValid(ent) then
ent:VC_explodeEngine(false)
print("Vehicle has been destroyed.")
else
print("Invalid entity.")
end
end)