Old topic title: [+B1604] SetVehicleWheelType native don’t accept any id over 12
SetVehicleWheelType is changing any id over 12 to 5, becaming impossible to use custom wheels types slots (This became more problematic in the B2372, as the game is now using all the ids below 13, so there’s no ids empty to be used by us).
Reproducible steps to help you guys in seeing this game limitation:
- Create a car, and trigger the SetVehicleWheelType native with any id which is over 12, and print the current wheel type using the native GetVehicleWheelType. As output, you gonna get the number 5 (even when the default wheel type from that vehicle was not 5).
If you prefer, use this repro resource (Look below to how use it): wheelstyperepro.rar (1.1 KB)
- Using the repro resource:
- You should use the command “/wheelstyperepro”, it gonna spawn a futo, put the player ped inside it and create a thread setting the WheelType to the id 20 and will print the current vehicle wheel type after 0.5s. If you wanna test it using any id below 13, just change the “wheelTypeToBeDefined” to any other id. (The repro resource also includes an carcols.meta with a example wheel in the wheel type 20, just to make sure there’s nothing which checks if there’s any wheel on certain wheel types)