Total banned cheaters
#1

Hi all guys,i wanna make a counter on server witch count the n° of total bans made.

How?

Any help?Thanks.
Reply
#2

using fread and fwrite in a single txt file
Reply
#3

pawn Код:
stock GetCheaters()
{
    new File:file = fopen("cheaters.txt");
    new string[8];
    fread(file, string);
    fclose(file);
    return strval(string);
}
and the when you ban somone yo want it to do +1 to the numbers i guess you can do that if not i can possibly give the line
Reply
#4

No,i don't need to use fwrite/fopen.

It's possibile to do it with variables?

Like: when player get's banned, Cheaters++;

EDIT: Fixed.
Reply
#5

Edit Post removed as its fixed :P

i wrote it all up for you to
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)