View Single Post
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 02-02-2015 , 13:37   Re: 2048 Max Edict Change
Reply With Quote #4

Quote:
Originally Posted by Kriax View Post
Ah okay, I have another solution but I do not know how to apply:

Code:
 ...

 Public Action:Command(client, args)
 {
 new = max GetMaxEntities();
 PrintToChat(client, "% i", max);
 }

 Public Action:CommandPurge(client, args)
 {
 HERE
 }
Is it possible to purge the number of entity?
If I created a env_sprite, I delete it, it will always be included in the GetMaxEntities, how to remove it?

Kriax.
when entities are destroyed in source games, their entity index is freed up.
__________________
WildCard65 is offline