09.09.2011, 00:56
(
Последний раз редактировалось JaTochNietDan; 09.09.2011 в 01:33.
Причина: Use the edit button.
)
thx.
ahh, u use the mysql plugin by Gizyz(or smth. i really cant remember that name
)
I use the one by stricken kid which doesnt support "mysql_fetch_row_format()" but thx alot for ur answer
Now only 1 rep more needed to be able to post in the advertise section
sorry for double post but i just cant get it...
Im getting crazy of it!!
It works great with print, all players with the specific table value are listed.
But why wont it work with anything but print??
Help pls
ahh, u use the mysql plugin by Gizyz(or smth. i really cant remember that name

I use the one by stricken kid which doesnt support "mysql_fetch_row_format()" but thx alot for ur answer

Now only 1 rep more needed to be able to post in the advertise section

sorry for double post but i just cant get it...
pawn Код:
if (strcmp("/blackbans", cmdtext, true) == 0)
{
if(Spieler[playerid][AdminLevel] > 3)
{
new query[128];
format(query, sizeof(query), "SELECT name FROM `Users` WHERE BlackBan > 0");
mysql_query(query);
mysql_store_result();
while(mysql_fetch_row(query))
{
// It works when i do: print(query);
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX,"{EE0000}Blacklisted Players",query, "Ok", "Close");
// But not when i do a dialog like this or a kinda format(); function
}
mysql_free_result();
} else return SendClientMessage(playerid, 0xFF0000FF, "You don't have permission to use this command!");
return 1;
}
It works great with print, all players with the specific table value are listed.
But why wont it work with anything but print??
Help pls
