CMD: Problem
#2

pawn Код:
foreach(Player, i)
    {
        {
            PlayerInfo[i][pBiz] = 0;
            format(string, sizeof(string), " Administrator %s has sold your business.", RPN(playerid));
            SendClientMessage(i, COLOR_WHITE, string);
        }
    }
Why are you looping through all the players and selling their business (even if they don't have one)?
Reply


Messages In This Thread
CMD: Problem - by SRP - 15.07.2013, 16:52
Re: CMD: Problem - by Bakr - 15.07.2013, 16:59
Re: CMD: Problem - by dominik523 - 15.07.2013, 17:33
Re: CMD: Problem - by SRP - 15.07.2013, 19:33

Forum Jump:


Users browsing this thread: 1 Guest(s)