But I think I did it right.
Here's my code.

Code:
  


action car
{
my.scale_x = 0.292;
my.scale_y = 0.292;
my.scale_z = 0.292;

var node = 1;
var node_pos[3];
var distance;
/////////////////////////////////////
// my.node = 1;
my.passable = on;

result = path_scan(my,my.x,my.pan,vector(360,180,1000));
if(result == 0){return;}

fade_in();
move_car();
///////////////////////////////////

path_getnode(my,1,node_pos,null);
vec_to_angle(my.pan,vec_diff(temp,node_pos,my.x));

while(1)
{
wait(1);
distance = vec_dist(my.x,node_pos);

if(distance < 25)
{
node = path_nextnode(my,node,1);
path_getnode(my,node,node_pos,null);
vec_to_angle(my.pan,vec_diff(temp,node_pos,my.x));
wait(1);
}

if(node >= 11)
{
fade_out();
return;
}
wait(1);
}
}



Then I use this action to make countless numbers of cars every 10 seconds:

Code:
 
action car_creator
{
my.passable = on;
my.invisible = on;
while(1)
{
ent_create("car1.mdl",my.x,car);
sleep(5);
}
}



However, not one of the generated cars follow the path. The cars just
move straight. Not following paths or anything.

Have I missed something?
I really need to fix this. Thanks!