Problem with In Game Money :P
#1

Here's the Code

Код:
			if(strcmp("/buildstructure", cmd, true) == 0) // creates a house type property
	{
	new Money;
	GetPlayerMoney(playerid, Money);
	if(Money >= 9999)
	{
		PropertyCommand( playerid, cmd, cmdtext,idx, TYPE_HOUSE);
		ResetPlayerMoney(playerid);
		}
	else if(Money <= 9999)
 {
	SendClientMessage(playerid, 0xFFFAAA, "You dont have enough Money Buddy!, Structures cost 10,000!");
	}
		return 1;
	}
now Im ingame with enough money but It still gives me, You dont have enough money Buddy!

Any help is Appreciated. thanks
Reply


Messages In This Thread
Problem with In Game Money :P - by Grant Johnston - 10.09.2011, 10:54
Re: Problem with In Game Money :P - by IceCube! - 10.09.2011, 10:57
Re: Problem with In Game Money :P - by Grant Johnston - 10.09.2011, 11:04

Forum Jump:


Users browsing this thread: 1 Guest(s)