SA-MP Forums Archive
: I need to save my ban logs, reasons - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: : I need to save my ban logs, reasons (/showthread.php?tid=357529)



: I need to save my ban logs, reasons - fuem1907 - 07.07.2012

I've auto-ban system in my script, it automatically bans people who uses weapon hacks, also we can /ban, /banip etc., I want a notepad file which gonna let me see those guys who got banned with which reasons, also I need a command that gonna make log file more easier to read.


Re: : I need to save my ban logs, reasons - coole210 - 07.07.2012

There is a samp.ban file in your server directory that logs all bans.

https://sampwiki.blast.hk/wiki/File_Functions

^ That is to load the samp.ban file from your directory, and output it from a command.

Or use a file plugin if it's easier.

EDIT:

Read this: https://sampwiki.blast.hk/wiki/Controlli...er#Adding_bans

It gives you more information about how bans are added to samp.ban.


Re: : I need to save my ban logs, reasons - ViniBorn - 07.07.2012

Look the include in my signature ...


Re: : I need to save my ban logs, reasons - iGetty - 07.07.2012

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Look the include in my signature ...
I would do this, it's great.


Re: : I need to save my ban logs, reasons - fuem1907 - 07.07.2012

it's different language. How can I find it english ? I don't know your language.


Re: : I need to save my ban logs, reasons - SnG.Scot_MisCuDI - 07.07.2012

Quote:
Originally Posted by fuem1907
Посмотреть сообщение
it's different language. How can I find it english ? I don't know your language.
https://sampforum.blast.hk/showthread.php?tid=294569

....


Re: : I need to save my ban logs, reasons - Audi_Quattrix - 07.07.2012

https://sampforum.blast.hk/showthread.php?tid=294569 -_-

EDIT: Too late


Re: : I need to save my ban logs, reasons - fuem1907 - 07.07.2012

Guys, I want to save my ban log , I 've got a ban system, Just I should take a ban log.
I mean
A user banned for using weapon hack.
And This words going to a txt file.
May be Banrecords.txt
And When I enter to banrecords , I can see Ohh Xx_Xx banned for using weapon hack.
Thanks again.