Hi, am still no closer to solving this
Here is an example of my code, for creating pickups
public AddBusiness(ownerid, type, typeid, name[], Float

, Float:y, Float:z, buyprice, tax)
{
new query[512];
ConnectToDatabase();
samp_mysql_real_escape_string(name,name);
printf("Adding Business....");
format(query, sizeof(query), "INSERT INTO businesses (businessid, name, bank, ownerid, type, typeid, enterx, entery, enterz, buyprice, locked, quantitylevel, tax, cityfund) VALUES (null, '%s', 2000000, %d, %d, %d, %f, %f, %f, %d, 0, 0, %d, 0)",
name, ownerid, type, typeid, x,y,z,buyprice, tax);
printf(" SQL: %s",query);
samp_mysql_query(query);
samp_mysql_query("SELECT MAX(businessid) FROM businesses");
samp_mysql_store_result();
new SQLId[12];
samp_mysql_fetch_row(SQLId);
printf("Business Added as %s....",SQLId);
new BusinessId = strval(SQLId);
if(BusinessId >= MAX_BUSINESSES) { printf("Max Businesses Reached."); return INVALID_SQL_ID; }
if(type & BUSINESS_TYPE_LOCATION)
{
format(query, sizeof(query), "UPDATE locations SET businessid=%d WHERE id=%d",BusinessId,typeid);
printf(" SQL: %s",query);
samp_mysql_query(query);
LocationInfo[typeid][lBusinessId] = BusinessId;
}
BusinessInfo[BusinessId][bSQLId] = BusinessId;
strmid(BusinessInfo[BusinessId][bName], name, 0, strlen(name), 255);
BusinessInfo[BusinessId][bBank] = 2000000;
BusinessInfo[BusinessId][bOwnerSQLId] = ownerid;
BusinessInfo[BusinessId][bType] = type;
BusinessInfo[BusinessId][bTypeId] = typeid;
BusinessInfo[BusinessId][bEnter_x] = x;
BusinessInfo[BusinessId][bEnter_y] = y;
BusinessInfo[BusinessId][bEnter_z] = z;
BusinessInfo[BusinessId][bBuyPrice] = buyprice;
BusinessInfo[BusinessId][bLocked] = 0;
BusinessInfo[BusinessId][bQuantityLevel] = 0;
BusinessInfo[BusinessId][bTax] = tax;
FactoryMarkup[BusinessId] = 0;
BusinessInfo[BusinessId][bCityFund] = 0;
BizPickup[BusinessId] = CreatePickup(PICKUP_BIZ, 23, x, y, z);
return BusinessId;
}
It worked fine under 0.2.x.. and I'm sure i read that there is something you need to do to activate pickups on 0.3