Is it possible to remove the driver from a traffic vehicle?
Posted in Support
Please login to contribute to the conversation.
Boo1852 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?
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?
Fluffy They're modeled into the car, you could remove that part of the model
They're modeled into the car, you could remove that part of the model
Boo1852 Ah, I see. Thank you. :)
Ah, I see. Thank you. :)
Fluffy 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!
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!
Boo1852 Okay, I've done all that. The car is working perfectly. Thanks for your help. :D
Okay, I've done all that. The car is working perfectly. Thanks for your help. :D
Fluffy You're very welcome!
You're very welcome!
[deleted user] Can this be done with non-traffic vehicles, i.e. no player model shown at all when in the car?
Can this be done with non-traffic vehicles, i.e. no player model shown at all when in the car?
Fluffy You can use: SetCharactersVisible(0); to hide drivers entirely.
You can use:
SetCharactersVisible(0);to hide drivers entirely.
[deleted user] Thanks, where is that within the P3D file?
Thanks, where is that within the P3D file?
Gibstack SetCharactersVisible(0);
You put this in the .con file, not in the p3d file.
SetCharactersVisible(0);
You put this in the .con file, not in the p3d file.
You put this in the .con file, not in the p3d file.