Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
I could be mistaken, but as far as I know, you cannot access the samp.ban file directly via de server as this file is not stored in the scriptfiles directory. Something like this could be easily done in a MySQL database, however.
Posts: 74
Threads: 8
Joined: Sep 2009
Reputation:
0
i think i could make it possible but i need a code to let a file read out line per line and put the lines into a string etc.
then search the string for the username and if it contains it, delete the line and reload bans...
isnt that easy or impossible?
Well, there is a intresting way to do this, make a file called bans.txt or bans.ini, there you store the names of hte banned people, everytime they join the server and if their name is there, you kick them.
So if you unban them it will only recognize names.
This is the most logical way to ban / unban people.