08.02.2014, 13:09
I don't know mysql so I can't help you with unban. But I think you should change the ban so it wont save as a variable. It can cause problems in the future, trust me.
I had problem with that so I made a folder called AccBans and then edited my ban cmd to create a file with the banned persons name as the file name and inside the file I put reason and admin who banned. Then in OnPlayerConnect I checked if the players name.ini was in the AccBans folder. If it was, send him a message saying that he is still banned and then kick him.
I had problem with that so I made a folder called AccBans and then edited my ban cmd to create a file with the banned persons name as the file name and inside the file I put reason and admin who banned. Then in OnPlayerConnect I checked if the players name.ini was in the AccBans folder. If it was, send him a message saying that he is still banned and then kick him.