for (new i = 0, rows = cache_get_row_count(); i != rows; ++i){ // cache functions.. // create vehicle..}