max amount [+rep]
#1

Well,i have made system for objects in houses,it's all fine,but the problem is that i loop alot,each dialog has a loop,and the loop is :
pawn Код:
for(new example = 0; example < MAX_HOUSESOBJECTS; example++)
{
//code
}
The problem is that MAX_HOUSEOBJECTS is 5000,and it makes amx size like 3000 kb,but when i set MAX_HOUSEOBJECTS to 50 the amx file decreases alot,how can i make it loop all over the objects and find them and ...without that much of size?
Reply


Messages In This Thread
max amount [+rep] - by iBots - 16.04.2015, 23:24
Re: max amount [+rep] - by iiNzTicTx - 16.04.2015, 23:40
Re: max amount [+rep] - by iBots - 16.04.2015, 23:53
Re: max amount [+rep] - by iiNzTicTx - 17.04.2015, 08:32
Re: max amount [+rep] - by iBots - 17.04.2015, 08:40
Re: max amount [+rep] - by fuckingcruse - 17.04.2015, 08:59
Re: max amount [+rep] - by ATGOggy - 17.04.2015, 09:19
Re: max amount [+rep] - by Threshold - 17.04.2015, 10:51

Forum Jump:


Users browsing this thread: 7 Guest(s)