Little help :s
#4

Quote:
Originally Posted by JaTochNietDan
Посмотреть сообщение
How are we supposed to help without knowing the contents of the DisableBadword function?
:b...
Quote:
Originally Posted by Rafelder_GRF
Посмотреть сообщение
DisableBadWord(word[])
word[] - word which will be disabled
pawn Код:
#define DisableBadword(%1) for(new i=0; i<strlen(text); i++) if(strfind(text[i], %1, true) == 0) for(new a=0; a<256; a++) if (a >= i && a < i+strlen(%1)) text[a]='*'
Reply


Messages In This Thread
Little help :s - by FireCat - 08.09.2011, 18:16
Re: Little help :s - by =WoR=Varth - 08.09.2011, 18:22
Re: Little help :s - by JaTochNietDan - 08.09.2011, 18:23
Re: Little help :s - by FireCat - 08.09.2011, 18:27
Re: Little help :s - by FireCat - 08.09.2011, 20:18
Re: Little help :s - by iPLEOMAX - 08.09.2011, 20:44
Re: Little help :s - by FireCat - 08.09.2011, 20:48

Forum Jump:


Users browsing this thread: 1 Guest(s)