Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] [MYSQL R41-2] Simple Ban / Unban System

$
0
0
Hello, recently i was bored and decided to create a simple ban system for those people who started using MYSQL recently.

NOTE: This filterscript does not save / load or let you register accounts. You gotta have your own gamemode to do that.


Also, this filterscript was done in under 20 minutes, so if you find any bugs please report it.

This is version 1, i am going to update it by adding /oban, /tempban and show the player a dialog whenever he gets banned.

Plugins needed:
a_mysql : http://forum.sa-mp.com/showthread.php?t=56564
sscanf: http://forum.sa-mp.com/showthread.php?t=602923
foreach: https://github.com/karimcambridge/SAMP-foreach

Screenshots:

When a player connects and if he is banned, this will display:

https://imgur.com/a/UhnPhiJ

Here is the download:

Github
Pastebin

As i said, the script was done under 20 minutes so if you find any bugs please let me know.
I'll keep updating the filterscript.

Credits:

SA-MP Team for a_samp.
BlueG for a_mysql
Y_Less for sscanf
Kar for foreach

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>