Added a few arrays, .amx size got 400kb bigger
#5

Quote:
Originally Posted by Jefff
Посмотреть сообщение
pawn Код:
stock ReturnNumber(amount)
{
    new name[15]; //
   
    if(0 <= amount <= 99)           name = "Blah1";
    else if(100 <= amount <= 249)   name = "Blah2";
    else if(250 <= amount <= 499)   name = "Blah3";
    else if(500 <= amount <= 999)   name = "Blah4";
    else if(1000 <= amount <= 2499) name = "Blah5";
    else if(2500 <= amount <= 4999) name = "Blah6";
    else if(5000 <= amount <= 9999) name = "Blah7";
    else                            name = "Blah8";

    return name;
}
What the... It really decreased it. Infact I replaced it with the one I use now and my .amx size got 50kb less.

I've been feeding a snake in my bed all the time, thanks a lot mate!
Reply


Messages In This Thread
Added a few arrays, .amx size got 400kb bigger - by IKnowWhatIAmDoing - 06.07.2014, 17:14
Re: Added a few arrays, .amx size got 400kb bigger - by Ihateyou - 06.07.2014, 17:30
Re: Added a few arrays, .amx size got 400kb bigger - by IKnowWhatIAmDoing - 06.07.2014, 17:33
Re: Added a few arrays, .amx size got 400kb bigger - by Jefff - 06.07.2014, 18:05
Re: Added a few arrays, .amx size got 400kb bigger - by IKnowWhatIAmDoing - 06.07.2014, 18:14

Forum Jump:


Users browsing this thread: 2 Guest(s)