11.12.2012, 16:12
(
Последний раз редактировалось andrew2695; 11.12.2012 в 19:44.
)
thx for the help
public OnQueryError(errorid, error[], callback[], query[], connectionHandle)
{
print(error);
return 1;
}
(\'%s\', \'%s\', \'%s\', \'%s\')
('%s', '%s', '%s', '%s')
stock CheckAccount(playerid)
{
new query[100];//not exact but definatly big enough
format(query, sizeof(query), "SELECT ID, Password, Salt, Admin FROM `accounts` WHERE `Name` = '%s' LIMIT 1", Name(playerid));
mysql_function_query(g_Handle, query, true, "OnAccountCheck", "d", playerid);
return 1;
}