SA-MP Forums Archive
ban logging... - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ban logging... (/showthread.php?tid=175115)



ban logging... - Face9000 - 08.09.2010

Hi all,i need to log the bans in a bans.txt file..

How?


Re: ban logging... - playbox12 - 08.09.2010

Its already logged in samp.ban so why make it store again in bans.txt??


Re: ban logging... - Face9000 - 08.09.2010

Yes but..it's logged like:

Code:
**.***.***.*** [08/09/10 | 12:59:03] PLAYERNICK - INGAME BAN
I need to show the reason and the admin who banned..


Re: ban logging... - Ricop522 - 08.09.2010

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

Is this?


Re: ban logging... - Face9000 - 08.09.2010

No......


Re: ban logging... - LarzI - 08.09.2010

For that, you need to make your own ban command, and use a file system to store it in a .txt


This forum requires that you wait 120 seconds between posts. Please try again in 37 seconds.


Re: ban logging... - Face9000 - 08.09.2010

How to make a ban command and storing in a .txt?


Re: ban logging... - Face9000 - 08.09.2010

No one can help me??


Re: ban logging... - Flake. - 08.09.2010

yes i know what you mean and this is possible partyserver and gamerX both use a plugin so it saves bans to bans.txt so they are easy logged (or smth along those lines) btw that plugin is private :\


Re: ban logging... - ••• ĤБĶБM ••• - 09.09.2010

Quote:
Originally Posted by Logitech90
View Post
How to make a ban command and storing in a .txt?
Quite simple.

"Use the search button"- I, said.

Simple as that, happy searching.