21.11.2016, 15:01
You need to ignore the name of the function and after the last parameter. I had written a function to move maps that conflicted and I used:
and modelid is an integer so %i or %d specifier in format, you had %f
pawn Код:
new modelid, Float: p[6];
...
sscanf(line, "'CreateDynamicObject('P<),>ia<f>[6]", modelid, p);
printf("created | modelid: %i | spawnx: %f | spawny: %f | spawnz: %f | spawnrotx: %f | spawnroty: %f | spawnrotz: %f", modelid, p[0], p[1], p[2], p[3], p[4], p[5]);