[HELP][LUA] Disable extra parts from vehicle


#1

Hi. I’m trying to disable one of the extras from addon vehicle. The extra name is “extra_3” so I added this line to __resource.lua file:

void SetVehicleExtra(vehicle, extra_3, 1);

Idk if that’s correct structure but I’ve tried many combinations like:

void SetVehicleExtra(vehicle, extra_3, 1);
SetVehicleExtra(vehicle, 3, 1);
void SetVehicleExtra(vehicle, 3, 1)
SetVehicleExtra(vehicle, 3, 1)
SetVehicleExtra(vehicle, extra_3, 1);
void SetVehicleExtra(vehicle, extra_3, 1)
SetVehicleExtra(vehicle, extra_3, 1)

Please help.