08.09.2010, 09:28
i'm using sscanf to read from mysql.
and i have this code:
i want to set it to pInfo.
THe problem is if i use sscanf2 include i cant run the server, FIle or function is not found.
But i think its not the problem, i just need a way to load all fields to pInfo enum.
This way, is not working at all.
and i have this code:
pawn Код:
new
var[pInfo];
sscanf(line, "p|ssddddddddddddsddddddddddddddddddddddddddddddddddddddffdddddddddddddddddddddddddddddddddddddddddsssssdffffdffffdffffddffffffffdfffffffffffffffdddsssssffffdddddddddddddddddddddddddddddddddddddddddddddddddds", data[0], var); //Splits the line with sscanf
THe problem is if i use sscanf2 include i cant run the server, FIle or function is not found.
But i think its not the problem, i just need a way to load all fields to pInfo enum.
This way, is not working at all.