30.07.2009, 22:16
tagProtector v1.0
I was thinking of how to stop certain names from getting in the server. And I thought, why not make a system where it can do what you want with uses with certain tags in their name? I'll probably have no use for it now, so meh. But releasing it I suppose will do you all good. I think.
What this filterscript does is store three files into memory. These three files are named 'rename.cfg', 'kick.cfg', and 'ban.cfg'. And you stick tags in them. Or any pieces of name that you don't want in your server. If you don't want to have lets say... clan [XY] in your server, simply add [XY] to the kick.cfg file. (All these should be found in /scriptfiles/tagProtector/ - you must make this directory...) You can rename swearwords, and other stuff.
How do I update the list in game?
After you've edited the *.cfg files, you can send a CallRemoteFunction call to reloadTags(). This wipes the game of the forbidden tags, and implements the new forbidden tags and such from ingame.
Happy?
Then download it then. No mirrors please.
http://www.typefish.co.uk/sa-mp/filt...gProtector.pwn
Note: You'll also need strlib installed to compile.
(Any problems, please post here!)
I was thinking of how to stop certain names from getting in the server. And I thought, why not make a system where it can do what you want with uses with certain tags in their name? I'll probably have no use for it now, so meh. But releasing it I suppose will do you all good. I think.
What this filterscript does is store three files into memory. These three files are named 'rename.cfg', 'kick.cfg', and 'ban.cfg'. And you stick tags in them. Or any pieces of name that you don't want in your server. If you don't want to have lets say... clan [XY] in your server, simply add [XY] to the kick.cfg file. (All these should be found in /scriptfiles/tagProtector/ - you must make this directory...) You can rename swearwords, and other stuff.
How do I update the list in game?
After you've edited the *.cfg files, you can send a CallRemoteFunction call to reloadTags(). This wipes the game of the forbidden tags, and implements the new forbidden tags and such from ingame.
Happy?
Then download it then. No mirrors please.
http://www.typefish.co.uk/sa-mp/filt...gProtector.pwn
Note: You'll also need strlib installed to compile.
(Any problems, please post here!)