10.09.2011, 10:54
Here's the Code
now Im ingame with enough money but It still gives me, You dont have enough money Buddy!
Any help is Appreciated. thanks
Код:
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;
}
Any help is Appreciated. thanks

