17.06.2010, 19:19
Quote:
Originally Posted by PhonicStudios
I am not totally sure but if(BizData[i][bProducts] < 1) doesnt this mean the shop has products? and the next line is
return SendClientMessage(playerid, COLOR_SYSTEM, "[Error]: This store has no products."); Im not very experienced but doesnt this mean even if there are items it still says the error? try doing: if(BizData[i][bProducts] < 0) try this and check if this helps. If this helps im very glad to help you, coz i learned something then too. |
< 0 - however is checking if the biz has -1 products or below