How i can acces/change the SA-MP ban list?
#1

Hi all

I wanna know something

How i can change the banlist?
Because i wanna host and i want the bans will be saved on MYSQL and if the server (re)start then the banlist will be deleted
Then it will be Created with the bans from the MYSQL



Kasco
Reply
#2

teh banz are stored in samp.ban.
Reply
#3

Just changed info in the file.
Reply
#4

First off you'll need to store the bans in the MySQL database (duh), then in OnGameModeInit load the bans, and send rcon commands using SendRconCommand( [command] ) like.. "banip 255.255.255.255", to clear the list use the rcon command "reloadbans"
Reply
#5

But if i reload then i add then the list will be bigger
It don't change
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)