17.06.2010, 22:57
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. |
" If the Business Products is less than 0 ", why would I check if a business's products are not even 0, I never heard of something with a negative amount of products.