21.04.2011, 20:18
Try it like:
pawn Код:
new i = 0;
mysql_query("SELECT * FROM vehicles WHERE Type != 1");
mysql_store_result():
while(mysql_fetch_row_format(query, "|"))
{
// Extract stuff from the current line here
// use the i variable as index for your vehicleinfo
i++;
}
mysql_free_result();