Hi like I said in my review the script is broken as is when you buy it. but here the fix:
in carbomb-mod/lua/weapons/carbomb/shared.lua
line 94-104:
--Check if car is broken if vcmod support is on
if (Carbomb_Config.vcmodCheckBroken == true and not ent.IsScar) then
if (ent:GetNWInt("VC_Health") <= 0) then
if (Carbomb_Config.showBrokenMessage == true) then self.Owner:PrintMessage(Carbomb_Config.messageType, "Can't put car bomb on broken vehicle") end
return
end
Replace by:
--Check if car is broken if vcmod support is on
if Carbomb_Config.vcmodCheckBroken and not ent.IsScar then
local vcHealth
if ent.VC_getHealth then
vcHealth = ent:VC_getHealth(true)
end
if vcHealth <= 0 then
if Carbomb_Config.showBrokenMessage then
self.Owner:PrintMessage(Carbomb_Config.messageType, "Can't put car bomb on broken vehicle")
end
return
end
this GetNWInt("VC_Health") was outdated we need to use VC_getHealth
Hope this helps!
Cheers