21.12.2011, 16:03
When i load stuff from tables, i use this:
That gets the rows in that order from MySQL and puts them in PlayerInfo[playerid].
Well, i want to load only specific rows. Is there anyway to do this with sscanf?
Other ways i try seem to crash, what i basically want to do is make it ignore some things, e.g.:
"e<p<|>s[24]s[129]iffff>"
I'd want it to save the 2 strings, the floats, but ignore the integer and not save it.
Any way to do this?
pawn Код:
sscanf(query, "e<p<|>s[24]s[129]s[16]iii>", PlayerInfo[playerid]);
Well, i want to load only specific rows. Is there anyway to do this with sscanf?
Other ways i try seem to crash, what i basically want to do is make it ignore some things, e.g.:
"e<p<|>s[24]s[129]iffff>"
I'd want it to save the 2 strings, the floats, but ignore the integer and not save it.
Any way to do this?