23.11.2010, 23:41
You can use strfind. It searches in a string instead of comparing two separate strings.
Hope this helps
pawn Код:
if(strfind(pname, "[EDT]", true) != -1)
{
//code
}