Current behavior
If you want to set any modValue on modType 47 via API you didn't get the mod. Nothing happens.
Expected behavior
You should get the requested mod.
Steps to reproduce
Spawn a new vehicle of tuner dlc; e.g. dominator7
Set modKit for vehicle.
Set modValue 1 on modType 47 via API: vehicle.setMod(47, 1)
Nothing happens - Should change the crossbar above the engine.
Using the native way work like it should be: natives.setVehicleMod(alt.Player.local.vehicle.scriptID, 47, 1, false);
Crossbar above the engine is now changed on local.
Context (environment)
For tuning all parts of a vehicle.
Possible solution
I've looked into the vehmods.bin and saw that the entries for modType 47 are missing.
So to fix this, the values for modType 47 should add to the followering vehicles:
Client/server version
Build #6.0dev-3, branch dev
Current behavior If you want to set any modValue on modType 47 via API you didn't get the mod. Nothing happens.
Expected behavior You should get the requested mod.
Steps to reproduce
dominator7
vehicle.setMod(47, 1)
natives.setVehicleMod(alt.Player.local.vehicle.scriptID, 47, 1, false);
Context (environment) For tuning all parts of a vehicle.
Possible solution I've looked into the vehmods.bin and saw that the entries for modType 47 are missing. So to fix this, the values for modType 47 should add to the followering vehicles:
CALICO DOMINATOR7 EUROS FUTO2 GROWLER PREVION REMUS RT3000 TAILGATER2 VECTRE WARRENER2 YOSEMIT3 ZR350