02.01.2014, 13:59
In the command /buyhouse, there are 41 opened brackets and 40 closed so you missed 1 closed bracket -> }
And what is that?
too many useless opened brackets
And what is that?
pawn Код:
...
if(HInfo[hi][hPrice] > pInfo[playerid][pMoney])
{
SendClientMessage(playerid, COLOR_RED, "You cannot afford to purchase this house!");
return 1;
}
{
{
{
{
SendClientMessage(playerid, COLOR_RED, "An unknown error occured while fetching house owners data.");
return 1;
}
if(IsHouse1 == 1)
{
return 1;
}
else if(IsHouse2 == 1)
{
return 1;
}
}
}
}

