15.02.2012, 03:16
On my database, I have the following information:
And on the server/server process, it shows:
The code is:
How can I fix this, thank you in advance.
pawn Код:
ID Name Type FBank
1 Los Angeles Police 0 0
2 Fire Department 3 5
And on the server/server process, it shows:
pawn Код:
[23:16:44] Faction : Los Angeles Police Faction Type : 111 Faction Bank : 115
[23:16:44] Faction : Fire Department Faction Type : 105 Faction Bank : 114
pawn Код:
if(mysql_fetch_row_format(Query,"|"))
{
sscanf(Query, "p<|>e<is[30]dd>", FactionInfo[id]);
printf(" Faction : %s Faction Type : %d Faction Bank : %d", FactionInfo[id][Name],FactionInfo[id][Type],FactionInfo[id][FBank]);
}
How can I fix this, thank you in advance.