View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 07-10-2015 , 08:08   Re: Security entity limit
Reply With Quote #17

Quote:
Originally Posted by Benoist3012 View Post
Ah yes, like in hammer, we can target every entity with a "*", thanks I will try it.

Edit: I done this
new iEnt = BaseMapsEntity;
while((iEnt = FindEntityByClassname(iEnt, "*")) != -1)
{
Code:
while((iEnt = FindEntityByClassname(iEnt, "*")) != -1 && iEnt < 2048)
Else, you will also be getting to non-networked entities (which don't use edicts).
psychonic is offline