15.12.2010, 18:58
pawn Код:
stock GetValue(line[], size=25)
{
new valRes[size];
valRes[0] = 0;
if(strfind(line, "=", true) == -1) return valRes;
strmid(valRes, line, strfind(line, "=", true) +1, strlen(line), sizeof(valRes));
return valRes;
}