25.06.2010, 01:56
Ahaha, I tried, but I have no clue how to do this...
pawn Код:
stock GetPlayerNameFromSQLid(SQLid)
{
new query[256], pname[24];
format(query, 256, "SELECT `username` FROM `accounts` WHERE `SQLid` = '%d'", SQLid);
mysql_query(query);
mysql_store_result(pname);
return pname;
}