Disable symbols
#4

Try this:

Код:
public OnPlayerText( playerid, text[ ] )
{
    for( new i; i < 129; i ++ ) 
    {
         if( text[ i ] == '{' ) text[ i ] = '(';
         if( text[ i ] == '}' ) text[ i ] = ')';
    }
    // your codes
}
But, from what I know, { and } replaces with ( and ) in 0.3c+ ...
Reply


Messages In This Thread
Disable symbols - by BGMike - 28.10.2011, 17:06
Re: Disable symbols - by Ash. - 28.10.2011, 17:10
Re: Disable symbols - by BGMike - 28.10.2011, 17:30
Re: Disable symbols - by IstuntmanI - 28.10.2011, 17:45

Forum Jump:


Users browsing this thread: 1 Guest(s)