02.01.2011, 23:54
Okay, I have this:
... and I guess the data isn't being stored because nothing was printed. Perhaps you know of a possible solution?
EDIT: I found an old vehicle system I had on my HDD some time ago and noticed my issue was on the sscanf line. It's working well now.
pawn Код:
if(sscanf(Query, "p<|>s[23]dffffdd", Owner, Model, vPos[0], vPos[1], vPos[2], vPos[3], Color[0], Color[1]))
{
print(Query);
new vehicle = CreateVehicle(Model, vPos[0], vPos[1], vPos[2], vPos[3], Color[0], Color[1], -1);
vInfo[vehicle][vOwner] = Owner;
vInfo[vehicle][vModel] = Model;
vInfo[vehicle][vPosX] = vPos[0];
vInfo[vehicle][vPosY] = vPos[1];
vInfo[vehicle][vPosZ] = vPos[2];
vInfo[vehicle][vAngle] = vPos[3];
vInfo[vehicle][vColor1] = Color[0];
vInfo[vehicle][vColor2] = Color[1];
}
EDIT: I found an old vehicle system I had on my HDD some time ago and noticed my issue was on the sscanf line. It's working well now.