Streamer, loop through objects.
#5

Quote:
Originally Posted by Schneider
Посмотреть сообщение
pawn Код:
for(new i; i<MAX_OBJECTS; i++)
{
    if(IsValidDynamicObject(i))
    {
   
    }
}
No, that will definitely not work... -.-

MAX_OBJECTS is not even close to the right answer.





PS: To use GetMaxItems, you have to SetMaxItems, that is not the solution I'm going for here. I want to only loop through the objects that exist. Like maybe a foreach iterator? If iterators are my only shot at getting this right, can someone show me how to use YSI's iterator functions?
Reply


Messages In This Thread
Streamer, loop through objects. - by Crayder - 31.01.2015, 01:47
Re: Streamer, loop through objects. - by CalvinC - 31.01.2015, 10:18
Re: Streamer, loop through objects. - by Crayder - 31.01.2015, 18:08
Re: Streamer, loop through objects. - by Schneider - 31.01.2015, 18:25
Re: Streamer, loop through objects. - by Crayder - 31.01.2015, 19:51
Re: Streamer, loop through objects. - by DRIFT_HUNTER - 31.01.2015, 19:58
Re: Streamer, loop through objects. - by Crayder - 31.01.2015, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)