01.02.2014, 18:57
By not working you mean? It doesn't print anything? Well, it will not even be compiled with the missing semicolons and the extra closed bracket.
@park4bmx: true and 1 is the same thing.
pawn Код:
CMD:pirktihata(playerid, params[])
{
if (!IsPlayerInRangeOfPoint(playerid, 1, HouseInfo[house][posa][0], HouseInfo[house][posa][1], HouseInfo[house][posa][2])) return SendClientMessage(playerid, -1, "[ > ]{FF7E7E} Not in range!");
if (HouseInfo[house][selling])
{
if (GetPVarInt(playerid, "pOHouse2")) return SendClientMessage(playerid, WHITE, "[ > ]{FF7E7E} Atsipra?ome, bet j?s nebegalite tur?ti daugiau namё!");
{
if (GetPlayerMoney(playerid) < HouseInfo[house][cost]) SendClientMessage(playerid, WHITE, "[ > ]{FF7E7E} Atsipra?ome, bet jums nepakanka pinigё!");
else HOUSE_BUY_DIALOG(playerid, house);
}
}
return 1;
}