sumoFFS - String error (sscanf2)
#2

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++;
}
Reply


Messages In This Thread
sumoFFS - String error (sscanf2) - by nGen.SoNNy - 28.08.2012, 11:51
Re: sumoFFS - String error (sscanf2) - by clarencecuzz - 28.08.2012, 11:59
Re: sumoFFS - String error (sscanf2) - by nGen.SoNNy - 28.08.2012, 12:01
Re: sumoFFS - String error (sscanf2) - by clarencecuzz - 28.08.2012, 12:06
Re: sumoFFS - String error (sscanf2) - by nGen.SoNNy - 28.08.2012, 12:07
Re: sumoFFS - String error (sscanf2) - by clarencecuzz - 28.08.2012, 12:10
Re: sumoFFS - String error (sscanf2) - by nGen.SoNNy - 28.08.2012, 12:13
Re: sumoFFS - String error (sscanf2) - by clarencecuzz - 28.08.2012, 12:18

Forum Jump:


Users browsing this thread: 1 Guest(s)