Server freeze / Crash
#2

Try the function below:

pawn Код:
stock LoadBusinessInfo(iBusiness)
{
    new Query[700];
    format(Query, 128, "SELECT * FROM businessinfo WHERE `business_id_field_name` = '%d'", iBusiness);
    mysql_query(Query);
    mysql_store_result();
    while(mysql_fetch_row(Query))
    {
        sscanf(Query, "p<|>e<dfffs[28]s[24]dddddfff>", BVar[iBusiness]);
    }
    mysql_free_result();
    return 1;
}
Reply


Messages In This Thread
Server freeze / Crash - by vIBIENNYx - 25.06.2012, 17:28
Re: Server freeze / Crash - by Jason` - 25.06.2012, 17:37
Re: Server freeze / Crash - by vIBIENNYx - 25.06.2012, 17:46
Re: Server freeze / Crash - by leonardo1434 - 25.06.2012, 17:52
Re: Server freeze / Crash - by Jason` - 25.06.2012, 17:53
Re: Server freeze / Crash - by vIBIENNYx - 25.06.2012, 18:45
Re: Server freeze / Crash - by dowster - 25.06.2012, 19:03
Re: Server freeze / Crash - by vIBIENNYx - 25.06.2012, 19:28
Re: Server freeze / Crash - by dowster - 25.06.2012, 19:34
Re: Server freeze / Crash - by dowster - 25.06.2012, 19:36

Forum Jump:


Users browsing this thread: 2 Guest(s)