SA-MP Forums Archive
[FilterScript] Temporary banning (SQLite) - Easy to use and it works! - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Temporary banning (SQLite) - Easy to use and it works! (/showthread.php?tid=255092)



Temporary banning (SQLite) - Easy to use and it works! - __ - 14.05.2011

Temporary banning (SQLite)
Scripted by __
Introduction
This release is a filterscript that I made last night, but never got around to testing/releasing until today.

This filterscript uses:Credits
I made this script myself, but as I said above, I used some released functions while making this, credits to:Download
A list of download links/mirrors is available below:Installation notes
Here are the notes for installation:
  1. Move 'tban.amx' to your filterscripts directory
  2. Move 'bans.db' to your scriptfiles directory
  3. Add 'tban' to your server.cfg 'filterscripts' line
  4. Start your SA-MP server
Other notes
Commands scripted for this FS:You can set a PVar for "Admin" so you can integrate this script with your gamemodes.

/unbanip and /unbanname haven't yet been tested, but I'm pretty sure they'll work.

The code for more specific times with ban expiry messages is available here. I don't have SA-MP installed and can't test it so I'm not overwriting the original release.


Re: Temporary banning (SQLite) - Kyle - 14.05.2011

Nice Script! Keep them coming.


Re: Temporary banning (SQLite) - Easy to use and it works! - Hiddos - 14.05.2011

Looking good, but how about adding the ZCMD include to the .zip file or at least providing a link to the ZCMD topic ^^?


Re: Temporary banning (SQLite) - Easy to use and it works! - __ - 14.05.2011

Will do later.


Re: Temporary banning (SQLite) - Easy to use and it works! - DRIFT_HUNTER - 14.05.2011

Do not use dialog to show player cos if you show player dialog and close connection he get stuck and must get out to desktop and stop gta_sa.exe


Re: Temporary banning (SQLite) - Easy to use and it works! - __ - 14.05.2011

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
Do not use dialog to show player cos if you show player dialog and close connection he get stuck and must get out to desktop and stop gta_sa.exe
There aren't any dialogs in this script... You should look at the script before making a pointless comment.


Re: Temporary banning (SQLite) - Easy to use and it works! - DRIFT_HUNTER - 14.05.2011

Quote:
Originally Posted by __
Посмотреть сообщение
There aren't any dialogs in this script... You should look at the script before making a pointless comment.
Sorry i just looked at another FS https://sampforum.blast.hk/showthread.php?tid=255118


Re: Temporary banning (SQLite) - Easy to use and it works! - Norn - 15.05.2011

Great script, extremely useful.


Re: Temporary banning (SQLite) - Easy to use and it works! - __ - 15.05.2011

Thanks for all of the positive comments so far, people.


Re: Temporary banning (SQLite) - Easy to use and it works! - Paul.eboy - 15.05.2011

thanks for it.