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.
C# Syntax
void NAPI.Vehicle.SetVehicleExtra(Vehicle vehicle, int slot, bool enabled);
Parameters
- vehicle: parameter input should be in Vehicle type
- slot: parameter input should be in int type
- enabled: parameter input should be in bool type
Example
NAPI.Vehicle.SetVehicleExtra(vehicle, 0, true);