23.12.2012, 22:23
You could use strfind and just look for the & in inputtext or you could do the following:
pawn Код:
for(new b; b<strlen(inputtext); b++)
{
if(inputtext[b] == '&')
{
SendClientMessage(playerid, -1, "You cannot use '&' in your input");
return 0;
}
}