Not working command
#3

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.

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;
}
@park4bmx: true and 1 is the same thing.
Reply


Messages In This Thread
Not working command - by DovIIs - 01.02.2014, 18:10
Re: Not working command - by park4bmx - 01.02.2014, 18:50
Re: Not working command - by Konstantinos - 01.02.2014, 18:57
Re: Not working command - by SwisherSweet - 01.02.2014, 19:00
Re: Not working command - by DovIIs - 01.02.2014, 19:12
Re: Not working command - by Konstantinos - 01.02.2014, 19:17

Forum Jump:


Users browsing this thread: 1 Guest(s)