SetVehicleExtra
This function toggles vehicle extras. Things like the Infernus/Elegy2 spoiler, coffee cup holders inside vehicles, or hard top convertibles such as the Coquette.
- vehicle: parameter input should be in Vehicle type
- slot: parameter input should be in int type
- enabled: parameter input should be in bool type
{{#tag:syntaxhighlight| Vehicle.SetVehicleExtra(vehicle, 0, true); |lang=csharp}} }}