/Shop issues
#1

Ok, so i have it set up, to where if you don't have a certain amount of money, the sale shouldn't go threw, but it does. What am i doing wrong here?

Код:
	            case 0:
	            {
	                if(AC_GetPlayerMoney(playerid < 2000))
	                {
	                    SendClientMessage(playerid, COLOR_LIGHTBLUE, "You do not have enough money!");
	                    return 1;
					}
					else
					{
	          			SetPlayerArmour(playerid, 100);
						GivePlayerMoney(playerid, -2000);
						SendClientMessage(playerid, COLOR_LIGHTBLUE, "You have purchased Armor!");
					}
	                return 1;
				}
Reply


Messages In This Thread
/Shop issues - by Jay_Dixon - 01.07.2013, 23:19
Re: /Shop issues - by arakuta - 01.07.2013, 23:28
Re: /Shop issues - by DobbysGamertag - 01.07.2013, 23:29

Forum Jump:


Users browsing this thread: 3 Guest(s)