View Single Post
Ratman2000
New Member
Join Date: Dec 2004
Old 02-26-2005 , 18:02   Hook
Reply With Quote #26

Hi,

so i reask my question...

I have seen, that Mani Mod can change the text like an badword check.
But when i use the class in this tread, i cant change the text.

Now i have tested to find special words and for this i have strapped the " from the text.

I have done this in the dispatch of the class...

It looks so:

Code:
int length= strlen( sText );

if ( *sText == '"' )
{
	sText++;
	length -= 2;
	sText[ length] = 0;
}
So when i print my text out( Msg( sText ) )
the text is all rigth... But the text what comes out and where displayed has lost the last character...

Example...

The player tipes: "Hi all ! My Name iss Boris"
than the text what where displayd is: "Hi all ! My Name iss Bori"

He cutted out the last "s"

But i think i cant so edit the text ?
So now i have the question...

How can i send an edited text for an badword check with the class at the top from this tread ?
Ratman2000 is offline
Send a message via ICQ to Ratman2000