Available since Version 1.19.
Set whether or not the character added via AddVehicleCharacter is visible.
This can be used to force a character to be visible in a car where the driver and player character are not.
Scope
This command should be called within a vehicle's .con file.
Syntax
CON
Lua
SetVehicleCharacterVisible( character );Game.SetVehicleCharacterVisible( character )- character: The name of the character.
Examples
CON
Lua
AddVehicleCharacter("apu");
SetVehicleCharacterVisible("apu");Game.AddVehicleCharacter("apu")
Game.SetVehicleCharacterVisible("apu")