multiply all biz
#2

If you're using mysql to save business info (such as id, x, y, z, price and so on), then you can try with this:

OnGameModeInit:

pawn Код:
mysql_tquery(g_SQL, "SELECT * FROM `business`", "Business_Load");
pawn Код:
public  Business_Load()
{
    for(new i, j = cache_num_rows(); i != j; i++)
    {
        if(i < MAX_BUSINESSES)
        {
                //Your business loading code
               //Set your tax code here
        }
    }
    return 1;
}
Reply


Messages In This Thread
multiply all biz - by AzaMx - 21.08.2018, 18:17
Re: multiply all biz - by KinderClans - 21.08.2018, 18:55

Forum Jump:


Users browsing this thread: 1 Guest(s)