Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Made by NEMESIS
- Need help ? Then contact me on my steam profile.
- http://steamcommunity.com/profiles/76561198056083145
- */
- hook.Add("Think","wac_remove_on_destroy",function()
- for k,v in pairs(ents.FindByClass("wac_*")) do
- if IsValid(v) then
- if (v.engineHealth == nil) then v.engineHealth = 1 -- This is so it dosen't return a nil and spams you with errors
- end
- if v.engineHealth <= 0 then
- v:Remove()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement