New to Loops such as these ones, any advice?
#5

Quote:
Originally Posted by SkyFlare
View Post
Welp, doesn't matter I totally forgot about Y_Iterate
Create a iter variable.
pawn Code:
new Iterator:Business<MAX_BUSINESS>;
When you load or create new business, do this for add to iter:
pawn Code:
Iter_Add(Business, id);
Now you can only get the free slot with this function:
pawn Code:
Iter_Free(Business);
Reply


Messages In This Thread
New to Loops such as these ones, any advice? - by SkyFlare - 18.07.2020, 06:34
Re: New to Loops such as these ones, any advice? - by grymtn - 18.07.2020, 07:43
Re: New to Loops such as these ones, any advice? - by GameOvr - 18.07.2020, 08:01
Re: New to Loops such as these ones, any advice? - by SkyFlare - 18.07.2020, 08:11
Re: New to Loops such as these ones, any advice? - by xRadical3 - 18.07.2020, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)