View Single Post
Old 12/06/2019, 03:16 AM   #3
Blake95
Little Clucker
 
Join Date: Nov 2016
Posts: 27
Reputation: 2
Default Re: Price or item does not update

Thank you! Error is solved.. but item doesn't update.. I click the item and "pricecount" not update.. always 0..

Code:
stock ReturnItemPrice(itemid)
{
	switch(itemid)
	{
	    case 0:
			return 500;
	    case 1:
	        return 10000;
	    case 2:
	        return 1500;
	    case 3:
     		return 500;
	    case 4:
     		return 200;
		case 5:
     		return 500;
		case 6:
     		return 5000;
		case 7:
     		return 200;
		case 8:
     		return 500;
		case 9:
     		return 3000;
	}
	return 1;
}
Blake95 is offline   Reply With Quote