28.10.2011, 17:06
How to disable to write in chat symbols like { and } because when somebody type code like this {ffffff} in the chat the server has restarted ..
Any ideas ?
Any ideas ?
public OnPlayerText( playerid, text[ ] ) { for( new i; i < 129; i ++ ) { if( text[ i ] == '{' ) text[ i ] = '('; if( text[ i ] == '}' ) text[ i ] = ')'; } // your codes }