ID:139861
 
Code:
verb
Get_In()
set src in oview(1)
usr.loc=src
if(src.driver==0)
usr.driving=1
src.driver=1
src.Follow(usr,src)
Get_Out()
set src in oview(1)
if(usr.driving==1)
usr.driving=0
src.driver=0
src.breakit=1
usr.loc=src.loc
proc/Follow(var/mob/M,var/obj/Vehicles/V)
if(V.breakit==0)
if(M.Move())
step(V,M.dir)
V.Follow(M,V)
else
return


Problem description:

I can't get it to work properly, I want you to be able to get in the car and drive it with other people in it without changing your icon
Your Follow() proc does not actually intercept movements. Instead, you're going to have to override client/Move() to move the car appropriately, if you are in one.

Also, your driver variable really needs to track WHO the driver is, not just whether a driver exists.
Why don't you just simplify it by moving all the passenger's inside the "car" contents? Set their client.eye to the car. Then, keep note of who the driver is and over ride mob/Move() to control the vehicle.