01.02.2014, 15:50
Hello, I want to ask help with sscanf when loading mysql data.
Here is the sscanf:
The mysql field is varchar and it looks like this:
How to read that field to these?
Here is the sscanf:
Код:
p<|>s[34]ddddddfffddddddddds[24]dddddddddddddddddds[32]s[32]ddds[32]s[32]dds[32]
Код:
0,0,0,0,0,0,0,0,0
Код:
PlayerInfo[playerid][pDrugs][0], PlayerInfo[playerid][pDrugs][1], PlayerInfo[playerid][pDrugs][2], PlayerInfo[playerid][pDrugs][3], PlayerInfo[playerid][pDrugs][4], PlayerInfo[playerid][pDrugs][5], PlayerInfo[playerid][pDrugs][6], PlayerInfo[playerid][pDrugs][7], PlayerInfo[playerid][pDrugs][8]