Selling all houses
#1

Is this script correct?

pawn Код:
CMD:sellallhouses(playerid, params[])
{
    if (PlayerInfo[playerid][pAdmin] >= 99999)
    {
        for (new HouseID = 0; HouseID < MAX_HOUSES; HouseID++)
        ClearHouse(HouseID);
        HouseInfo[HouseID][hGLUpgrade] = 1;
        return 1;
    }
    else
    {
        SendClientMessageEx(playerid, COLOR_GREY, "You are not authorized to use that command!");
    }
    return 1;
}
if not please tellme whats wrong / give me script fixed
Reply


Messages In This Thread
Selling all houses - by Mriss - 18.10.2014, 05:28
Re: Selling all houses - by nemesis- - 18.10.2014, 05:34
Re: Selling all houses - by Eth - 18.10.2014, 06:34

Forum Jump:


Users browsing this thread: 1 Guest(s)