OnPlayerText usage?
#7

Quote:
Originally Posted by MP2
Посмотреть сообщение
Skylar, if someone says 'fuck you' it's not going to censor it - is it?
Not at all, nope. You'd have to use your method of strfind; This is just a very crude, and simple example.

Quote:

This forum requires that you wait 120 seconds between posts. Please try again in 32 seconds.

FFFFFUUUU- it's back.

EDIT:

pawn Код:
if(strfind(text, "fuck")) { strins(text, "****", 0, 128); }
Something like this, perhaps? Never have used strins, and I just checked the wiki - Perhaps this would work, probably not, but thought i'd put in my two cents.
Reply


Messages In This Thread
OnPlayerText usage? - by Ben7544 - 13.04.2011, 16:07
Re: OnPlayerText usage? - by MP2 - 13.04.2011, 16:10
Re: OnPlayerText usage? - by Ben7544 - 13.04.2011, 16:12
Re: OnPlayerText usage? - by MP2 - 13.04.2011, 16:14
Re: OnPlayerText usage? - by Skylar Paul - 13.04.2011, 16:15
Re: OnPlayerText usage? - by MP2 - 13.04.2011, 16:16
Re: OnPlayerText usage? - by Skylar Paul - 13.04.2011, 16:19
Re: OnPlayerText usage? - by Ben7544 - 13.04.2011, 16:37
Re: OnPlayerText usage? - by WillyP - 13.04.2011, 16:49
Re: OnPlayerText usage? - by MP2 - 14.04.2011, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)