05.03.2011, 18:29
Just create variables to count the number of kicks and bans.
I did it for you
. Put:
And, finally, use this to see the total:
I hope that i have helped
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;
}
