altv-issues
altv-issues copied to clipboard
Mixed up Tunings on Double-T (Spawnname: double)
Description of the problem
When using the Serverside setter for the Engine Tuning Part 2 (Type 11, Part 2) the Double-T receives the Carbon Plating tuning alongside the Engine Tuning. However, this doesn't seem to happen when setting the tuning using natives.
Reproduction steps
Spawn the Vehicle and run the following Code Serverside:
vehicle.ModKit = 1; vehicle.SetMod(11, 2);
To compare, reset all tunings on the vehicle (Or just spawn another) and run the following code Clientside:
native.setVehicleModKit(alt.Player.local.vehicle, 0); native.setVehicleMod(alt.Player.local.vehicle, 11, 2, false);
Expected behaviour
The Serverside setter should only set the Engine Tuning, not the Carbon Plates (Bodykit, Type 5, Part 1)
Additional context
No response
Operating system
Debian 11
Version
12.10
Confirmed on 13.0-dev12
that issue is related to the wrong modkit selection that vehicle needs modkit 2, to use the 11 type correct but then the carbon parts not avaible, another issue