Forum Mod Bakery Docs

Is it possible to remove the driver from a traffic vehicle?

Posted in Support
Please login to contribute to the conversation.
I'm trying to make a traffic vehicle a buy-able car, however it has the driver in it. Is there a way to remove the driver/make them invisible?
They're modeled into the car, you could remove that part of the model
Ah, I see. Thank you. :)
Welcome! You will also need to add this line to the car's configuration:
SetDriver("none");
if there is already a SetDriver set, replace that line!
Okay, I've done all that. The car is working perfectly. Thanks for your help. :D
You're very welcome!
[deleted user]
8 yrs ago (Statistics)
Can this be done with non-traffic vehicles, i.e. no player model shown at all when in the car?
You can use:
SetCharactersVisible(0);
to hide drivers entirely.
[deleted user]
8 yrs ago (Statistics)
Thanks, where is that within the P3D file?
SetCharactersVisible(0);

You put this in the .con file, not in the p3d file.