show bounties
#1

I made a bouties script and now I like to show them via command.
but not for every bounty 1 line, i like to make more as possible in one line, and then another line when it's over 128.
how to do that?

my code:

pawn Код:
if(strcmp(cmd,"/bounties",true)==0)
    {
        new amount;
        SendClientMessage(playerid,_COLOR_GREEN,"Bountys at the moment:");
        foreach(Player,i)
        {
            if(bounty[i] > 0)
            {
                amount++;
...
            }
        }
        if(amount == 0) SendClientMessage(playerid,_COLOR_WHITE,"There are not any bounties at the moment.");
        return 1;
    }
Reply


Messages In This Thread
show bounties - by Ribber - 05.12.2010, 17:55
AW: show bounties - by Ribber - 06.12.2010, 14:43
Re: show bounties - by Sergei - 06.12.2010, 14:47
AW: show bounties - by Ribber - 06.12.2010, 15:58
AW: show bounties - by Ribber - 07.12.2010, 16:11
AW: show bounties - by Ribber - 09.12.2010, 13:01
Re: show bounties - by Mehtab - 09.12.2010, 13:26
AW: show bounties - by Ribber - 09.12.2010, 16:44
AW: show bounties - by Ribber - 09.12.2010, 20:14

Forum Jump:


Users browsing this thread: 2 Guest(s)