Rendering beam if an entity is not in FOV

Does anybody know how to render a beam using **[Render.DrawBeam](** (don’t want to use env_beam because I don’t want to make entities with targetnames), starting from entity, if the entity is not visible?

I know that Draw hook works only if an entity is in FOV, but in WireMod beams on entities firstly work only in FOV, but after 3-5 seconds they start to draw everytime. I read Wire code, it is just render.DrawBeam.

Help me! Please!


Next time post in the lua questions forum please.

Wizard of Ass, thank you!
Close this topic.