26.01.2011, 06:39
The problem is most likely that you are checking the 45th character in the text passed to OnPlayerText. Are you trying to see if the text is just simply in there? If so:
What exactly are you trying to accomplish? If you provide me with an answer to that question, along with your OnPlayerText callback, I may be able to assist you further.
pawn Код:
if( strfind( text, "§", true ) != -1 )
{
SendClientMessage( playerid, WHITE, "You can't use this language!" );
return 0;
}