16.02.2012, 11:57
is there a faster way to do this?
pawn Код:
switch(Items)
{
case 0..30: Itemselect = 1;
case 30..60: Itemselect = 2;
case 60..90: Itemselect = 3;
.......
case 2970..3000: Itemselect = 100;
}