How i can acces/change the SA-MP ban list? - 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: How i can acces/change the SA-MP ban list? (
/showthread.php?tid=69319)
How i can acces/change the SA-MP ban list? -
kasco - 17.03.2009
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
Re: How i can acces/change the SA-MP ban list? -
WoozieRocks - 17.03.2009
teh banz are stored in samp.ban.
Re: How i can acces/change the SA-MP ban list? -
MenaceX^ - 17.03.2009
Just changed info in the file.
Re: How i can acces/change the SA-MP ban list? -
[RP]Rav - 17.03.2009
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"
Re: How i can acces/change the SA-MP ban list? -
kasco - 17.03.2009
But if i reload then i add then the list will be bigger
It don't change