Raised This Month: $ Target: $400
 0% 

Simple Swear Filter


Post New Thread Reply   
 
Thread Tools Display Modes
Gung Ho
Junior Member
Join Date: Mar 2004
Location: USA,Florida(-5 GMT)
Old 04-27-2004 , 23:26  
Reply With Quote #11

Do I have to change the following line if I have more than 32 words in the
swearfilter.ini file.

new g_swearsNames[MAX_WORDS][32]
Gung Ho is offline
Nick
Senior Member
Join Date: Apr 2004
Location: Canada, Alberta, Cal
Old 04-28-2004 , 02:44  
Reply With Quote #12

Is this swear filter any different from any of the other swear filterS?
__________________
Nick is offline
Send a message via MSN to Nick
KiN | SuicideDog
Senior Member
Join Date: Mar 2004
Old 04-28-2004 , 12:58  
Reply With Quote #13

as far as I can tell this is one and RS's Advanced Swear Filter are the only AMXX compatible swear filters. No it's not any different expect this one doesn't have any features. It only does one thing. Replaces bad words with *'s .. I recommend RS's if you want more features.
__________________
Code:
#include <amxmodx> public client_connect(id){   new playerIQ    get_player_IQ(id,playerIQ)   if(playerIQ < 100 )  {     client_cmd(id,"say I'm too stupid to play;quit")  }   PLUGIN_CONTINUE}
KiN | SuicideDog is offline
KiN | SuicideDog
Senior Member
Join Date: Mar 2004
Old 04-28-2004 , 13:03  
Reply With Quote #14

Quote:
Originally Posted by Gung Ho
Do I have to change the following line if I have more than 32 words in the
swearfilter.ini file.

new g_swearsNames[MAX_WORDS][32]
No, if you look at the line above that one it is were the number of words is set (currently 192).

also it should be in swearwords.ini file not swearfilter.ini. I noticed my typo (in the comments section only) and have uploaded new code (only typo's fixed)

also removed the amxmisc include. As it was not needed. I haven't had a chance to test it .. can someone give it a test?
__________________
Code:
#include <amxmodx> public client_connect(id){   new playerIQ    get_player_IQ(id,playerIQ)   if(playerIQ < 100 )  {     client_cmd(id,"say I'm too stupid to play;quit")  }   PLUGIN_CONTINUE}
KiN | SuicideDog is offline
KiN | SuicideDog
Senior Member
Join Date: Mar 2004
Old 04-28-2004 , 13:42  
Reply With Quote #15

Quote:
Originally Posted by FireStorm
not bad, didn't know that, but the problem is that
not all members of my clan got access to the admin-chat etc.
so combining admin immunity with the reserved slot for example
would be great

thanks for your work!
I've decided not to do this feature (the first version I did had that in fact). I want keep this plugin simple (yes I know it would just be a cvar). This is what I needed so it's all I did. I decided to post it in case someone else wanted to use it. I post most of my plugins cuz I figure I'm not the only one that want's this kind of stuff. If you want features like that I recommend using RS's Advanced Swear Filter. Sorry.
__________________
Code:
#include <amxmodx> public client_connect(id){   new playerIQ    get_player_IQ(id,playerIQ)   if(playerIQ < 100 )  {     client_cmd(id,"say I'm too stupid to play;quit")  }   PLUGIN_CONTINUE}
KiN | SuicideDog is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 04-28-2004 , 14:27  
Reply With Quote #16



that's sad

RS's Advanced Swear Filter got too much stuff for me,
all i want is a simple swear filter that doesn't apply for admins.

i don't need any punishments.

if it's that easy to add, can't you add it and give it to me?

i would owe you a lot and love you for that
FeuerSturm is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 05-01-2004 , 14:32  
Reply With Quote #17

you forgot to add:

Code:
#include <amxmisc>
to your plugin though
FeuerSturm is offline
KiN | SuicideDog
Senior Member
Join Date: Mar 2004
Old 05-03-2004 , 03:50  
Reply With Quote #18

you're right
..

what's weird is the online compiler complied it fine without it.

..

EDIT.. nevermind.. compiler's working fine.. I'm just a dork.
__________________
Code:
#include <amxmodx> public client_connect(id){   new playerIQ    get_player_IQ(id,playerIQ)   if(playerIQ < 100 )  {     client_cmd(id,"say I'm too stupid to play;quit")  }   PLUGIN_CONTINUE}
KiN | SuicideDog is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 05-03-2004 , 03:51  
Reply With Quote #19

Remember, this server is on a 64bit machine and the online compiler is 2.5.0 which Bailopan and Sniperbeamer said had a few bugs and such.
__________________

BigBaller is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 05-03-2004 , 03:52  
Reply With Quote #20

the web compiler is advanced :O
__________________
QwertyAccess is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode