Help with sscanf
#1

I have public like this, to read from my saved player account. And I want to know how to make 2 public becouse this one isn't big enough, i have error that i have to many things in it,
Код:
fatal error 102: table overflow: "staging buffer"
and I want to separate that one public into two, but don't now how. There it is:

Код:
public ReadLine(playerid, line[])
{
    new xdata;
	sscanf(line, "p<|>is[24]s[32]s[50]iiiiiiiiis[15]iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiis[32]iiiiiis[32]s[32]s[32]iiiiiiiiis[32]s[32]iiiiiiiis[32]s[32]iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii",
	xdata, -> Here are listed my pinfo files like PlayerInfo[playerid][Level], PlayerInfo[playerid][pAdmin],.... etc. );
}
And can somebody explain to me what means :
Код:
sscanf(line, "p<|>
that sign p<|> what it means?,
this "is[24]s[32]...etc" means is it number or letter, or what?
And what for is xdata here?
thanks everybody, sorry for my bad english
Reply


Messages In This Thread
Help with sscanf - by Jo0ker - 22.07.2012, 21:36
Re: Help with sscanf - by ReneG - 22.07.2012, 21:46

Forum Jump:


Users browsing this thread: 1 Guest(s)