28.08.2017, 15:26
Require a little bit of help with this one line of SSCANF code.
So I am trying to get the modelid, x,y,z,rx,ry,rz from normal CreateObject codes.
String:
Everything I try doesn't seem to work.
What am I doing wrong here? I am fairly useless with sscanf, even after reading the thread explaining it - still can't get my head around it entirely.
Appreciate all replies! Will +rep !!
Код:
if (!sscanf(string, "p<,>CreateObject(dffffff", modelid, x, y, z, rx, ry, rz))
String:
Код:
CreateObject(19573, 662.2805, -1438.3465, 14.2938, 90.0000, 90.0000, 0.0000); //BriquettesBag1
What am I doing wrong here? I am fairly useless with sscanf, even after reading the thread explaining it - still can't get my head around it entirely.
Appreciate all replies! Will +rep !!