28.08.2012, 11:59
Have you tried:
pawn Код:
if(strcmp(line, "O", false, 1) == 0)
{
if(sscanf(line, "s[24]dffffff", letter, model, X, Y, Z, rX, rY, rZ)) return printf("***** Invalid line for O at '%s' - %s", mapname, line);
mapObjects[mapObjectsCounter] = CreateObject(model, X, Y, Z, rX, rY, rZ);
mapObjectsCounter++;
}