Npc driving cars

i wonder if there is a npc/snpc can drive cars that can follow player or have a race.

The answer is yes, it is possible.

You’d just need to create a vehicle AI, position the NPC you want to drive inside the driver seat and freeze the NPC while the vehicle AI takes over and lock the vehicle that no player could enter it. I guess you could also make the NPC do the driving animations, but you’d have to hide the driver NPC, create a playermodel with the animations, then create another model of the NPC’s model and parent its bones to the playermodel, then set the playermodel to do the animations.

Possible, but allot of work.

Do you want the npc to get in and out of the car?

yes that is the one i want