Tried searching?.
This thread may have some useful information in it.
Here's a brief summary of that thread. CLight entities that are not allocated a targetname will be removed on Spawn(). However the ones that are, will remain present so they can be toggled. The problem is, there is some piece of data in the map regarding spawnflags and targetname which we cannot access which is preventing us from individually switching off lights, even if you prevent them from being removed.
If your reaching the maximum entity count, then your probably doing something not so good
__________________