How to display total kicks and bans?
#4

Quote:
Originally Posted by rjjj
Посмотреть сообщение
Just create variables to count the number of kicks and bans.

I did it for you . Put:

pawn Код:
//In the top of your Gamemode:

new Kicks,Bans;


//In your kick command:

Kick++;



//In your ban command:

Bans++;

And, finally, use this to see the total:

pawn Код:
if(strcmp("/display",cmdtext,true,8)==0)
    {
        new txt[70];
        SendClientMessage(playerid,0xFFFFFFAA,"/=======[Kicks and Bans Display]=======/");
        format(txt,70,"Total Kicks done: %d", Kicks);
        SendClientMessage(playerid,0xFFFFFFAA,txt);
        format(txt,70,"Total Bans done: %d", Bans);
        SendClientMessage(playerid,0xFFFFFFAA,txt);
        return 1;
    }
I hope that i have helped
If you made new Kicks, Bans

Then it has to be Kicks++;
Reply


Messages In This Thread
How to display total kicks and bans? - by grand.Theft.Otto - 05.03.2011, 18:21
Re: How to display total kicks and bans? - by rjjj - 05.03.2011, 18:29
Re: How to display total kicks and bans? - by xRyder - 05.03.2011, 18:30
Re: How to display total kicks and bans? - by Markx - 05.03.2011, 18:38
Re: How to display total kicks and bans? - by grand.Theft.Otto - 05.03.2011, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)