• Can't seem to find any explosions
    0 replies, posted
I'm currently working on something that requires finding any explosions near me. I have failed using both ents.FindInBox so I can see if there is anything explosive near me: [CODE] local e = ents.FindInBox(LocalPlayer():GetPos() + Vector(-150,-150,-150),LocalPlayer():GetPos() + Vector(150,150,150)) for k,v in pairs(e) do LocalPlayer():ChatPrint(v:GetClass()) end [/CODE] And ents.FindByClass("env_explosion"): [CODE] local explosives = ents.FindByClass("env_explosion") for k,v in pairs(explosives) do print("Found") end [/CODE] Both methods have failed, so here I am.. Any help will be greatly appreciated.
Sorry, you need to Log In to post a reply to this thread.