[Info]: Load data with sscanf2 / on MySQL
#5

e means that the variables where will be the data asigned are from an enum, nothing else. And the p is the same with or without e.
If you do that:
pawn Код:
enum Vars
{
    name[24], //string = s[24].
    age //integer = i
};
new example[MAX_PLAYERS][Vars];
//---------------------
sscanf(query,"e<p<|>s[24]i>",example[playerid][name],example[playerid][age]);
Hope you understand..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)