15.10.2011, 16:41
That should work
pawn Код:
new
index = 0;
do {
if(ServerShop[index][shop_unlocked][playerid]) {
listitem -= 2;
} else {
listitem -= 3;
}
} while(!(listitem & (1 << (cellbits - 1))) && (++index != sizeof ServerShop));

