Posts: 3,351
Threads: 780
Joined: Jan 2010
Hi all,i need to log the bans in a bans.txt file..
How?
Posts: 1,317
Threads: 23
Joined: Feb 2010
Reputation:
0
Its already logged in samp.ban so why make it store again in bans.txt??
Posts: 3,351
Threads: 780
Joined: Jan 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..
Posts: 3,351
Threads: 780
Joined: Jan 2010
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
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.
Posts: 3,351
Threads: 780
Joined: Jan 2010
How to make a ban command and storing in a .txt?
Posts: 3,351
Threads: 780
Joined: Jan 2010
Posts: 1,166
Threads: 44
Joined: Sep 2009
Reputation:
0
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 :\