14.01.2012, 13:38
Quote:
I recommend you use native SQL functions instead of sscanf, the order of fields when using sscanf is very important.
You need to do: pawn Код:
|
pawn Код:
sscanf("p<|>isiiiiiisfffii", vInfo[v][vModel], vInfo[v][vOwner], vInfo[v][vLocked], vInfo[v][vLock], vInfo[v][vAlarm], vInfo[v][vInsurance], vInfo[v][vColor1], vInfo[v][vColor2], vInfo[v][vPlate], vInfo[v][vX], vInfo[v][vY], vInfo[v][vZ], vInfo[v][vOwned], vInfo[v][vID]);
Код:
sscanf warning: Format specifier does not match parameter count.