25.09.2011, 10:27
Hello, same as the thread. Who has a good idea to protect textdraw, when code is:
And my problem is: when the player send in command /news a symbol like '~', this textdraw crashing all players who see this, how i can protect this, if the script find '~' the player see the message "There are a bad symbols here!" ? Ofc, i need to protect this for the '~n~', '~r~~' etc...
pawn Код:
CMD:news(playerid, params[])
{
/* new text[128];
if(sscanf.... */
TextDrawSetString(Text:TextDrawNews, text);
return 1;
}