04.06.2012, 23:42
Well since the new version of BlueG's MySQL plugin now only supports threaded queries (which is awesome) it's forcing me to convert all my 350 queries (yes, I counted them, via notepad++). But I don't think I'm getting the gist of it (I've checked AndreT's tutorial)
So can someone convert this query for me, please.
It's what I use under OnPlayerConnect.
So can someone convert this query for me, please.
pawn Код:
format(String, 75, "SELECT `Name` FROM `accounts` WHERE `Name`='%s' LIMIT 1",escapename);
mysql_query(String);
mysql_store_result();
if(mysql_num_rows() != 0)
{
//something
}
else
{
//something else
}