Server Entity Vehicle:VC_getHealthMax()
1. Integer Maximum health in VCMod units.
// Makes all vehicles with these models 5 times as hard to kill if SERVER then local models = { "models/tdmcars/emergency/dod_charger12.mdl", "models/tdmcars/emergency/chargersrt8.mdl" } hook.Add("VC_postVehicleInit", "VC_postVehicleInit_MakeCarsStronger", function(ent) if table.HasValue(models, ent:GetModel()) then local healthMax = ent:VC_getHealthMax() ent:VC_setHealthMax(healthMax*5) end end) end