28.08.2012, 11:51
Hello guys! I have this script and i want to update the sscanf plugin
In console i get that error msg Invalid line for O ....
pawn Код:
if(strcmp(line, "O", false, 1) == 0){
if (!sscanf(line, "s[24]dffffff", letter, model, X, Y, Z, rX, rY, rZ)){
mapObjects[mapObjectsCounter] = CreateObject(model, X, Y, Z, rX, rY, rZ);
mapObjectsCounter++;
} else {
printf("***** Invalid line for O at '%s' - %s", mapname, line);
}
}
In console i get that error msg Invalid line for O ....