12.08.2018, 23:22 
	
	
	
		I have a problem with this bit of code, so if anybody can help me, please do so 
EDIT: bizid loops for the next address ( BIZ ADDRESS ) on the server
	
	
	
	

PHP код:
    new q[500];
    mysql_format(MyHandle, q, sizeof q, "INSERT INTO `table_3` (`type`, `shiet`, `fact`, `price`, `level`, `owner`, `enterx`, `entery`, `enterz`, `cash`, `isthere`) \
        VALUES (%d, %d, %d, %d, %d, %d, %f, %f, %f, %d, %d)",
        BI[bizid][bType],
        BI[bizid][bSheit],
        BI[bizid][bFact],
        BI[bizid][bPrice],
        BI[bizid][bLevel],
        BI[bizid][bOwner],
        BI[bizid][bEnterX],
        BI[bizid][bEnterY],
        BI[bizid][bEnterZ],
        BI[bizid][bCash],
        BI[bizid][bIsThere]
    );
    mysql_pquery(MyHandle, q, "OnBizCreate", "businessid", bizid); // THIS LINE 
PHP код:
forward OnBizCreate(businessid);
public OnBizCreate(businessid)
{
    BI[businessid][bSqlID] = cache_insert_id();
    return 1;
} 
pawn Код:
[plugins/mysql] mysql_pquery: callback error: parameter count does not match format specifier length



