Quote:
Originally Posted by hornet
Code:
static iMoney, item_Data[items_data]
Your creating your variable iMoney everytime and not setting to your real amount of money. So:
Code:
if(iMoney < item_Data[item_Cost]) // = true
|
I did not understand, can you explain please?
where should I change, how should I put.