1Добавлено (10.01.2015, 10:16:45)
---------------------------------------------
Проблему решил, код
decl String:buffer[300], String:Text[125];
GetCmdArgString(buffer, sizeof(buffer));
new Handle:h_File = OpenFile("file.txt", "r");
while (!IsEndOfFile(h_File) && ReadFileLine(h_File, Text, 125))
{
if (TrimString(Text) > 0 && strcmp(Text, buffer, true) == 0)
{
bFound = true;
break;
}
}
CloseHandle(h_File);
if (bFound)
{
// ..
}