Please Help | Anti Swear System
#1

I have some antiswear but if player writes it in that "fuck" antiswearr blocked msg but if player writes it in that "f u c k" or "f uck" is not useful then( no block msg )

Any idea?
Reply
#2

add the other words to the anti swear and it should work
Reply
#3

I did it in other way. I've made my own words varieble and added it as strfind to the text. If it's strfind one of the word. It doesn't send the whole message.
Reply
#4

I don't add every msg eg.: n 0 0 b etc..

MenaceX pls post it.
Reply
#5

How I would do it would be to remove all spaces from the string, so writing something like "hi s a - m p fo r um ." would come up as "hisa-mpforum."

Doing it like this would mean that writing spaced-out swear words would result in no-spaces, thus being triggered by your anti-swear.

~Cueball~
Reply
#6

This might help
http://forum.sa-mp.com/index.php?topic=90748.0
Reply
#7

http://forum.sa-mp.com/index.php?topic=52770.0
Reply
#8

Dujimja that means if they type f uck then it wont work, The link i gave will work even if they type fu-ck
Reply
#9

Quote:
Originally Posted by JeNkStAX
Dujimja that means if they type f uck then it wont work, The link i gave will work even if they type fu-ck
Ok. But if someone wants so hard to swear why to stop them xD Just punish them.
Reply
#10

-
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)