SA-MP Forums Archive
save bans in mysql table - 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)
+--- Thread: save bans in mysql table (/showthread.php?tid=201248)



save bans in mysql table - Ribber - 20.12.2010

How can i do my bans will save in a mysql table?
I know how it works, but how i can check in onplayerconnect wheter player's ip is a banned ip?
Also with rangebans it should work. (so 127.*.*.* etc)
When an ip is banned there will come a text and will kick him.

I like that because first its better and second then my admins can unban the people easier.
It's better than giving them my rcon password etc., i just will do a function that allows him via controlpanel to unban them.


AW: save bans in mysql table - Ribber - 21.12.2010

bump


Re: save bans in mysql table - Notis123 - 06.01.2012

+1 bump from meh :P