You use a while... why use a for loop too?

if you want to read all Entitys, use:

Code:
you = ent_next(NULL); // retrieve first entity
while (you) // repeat until there are no more entities
{ 
   // Save,...
   you = ent_next(you); // get next entity
}

insteat of for.


Last edited by Ayumi; 03/15/18 17:32.