SetVehicleCurrentRpm not working

Apparently, the native SetVehicleCurrentRpm don’t work, or I’m just stupid and I’m using it wrong.
As you can see in the example below, I’ve used SetVehicleCurrentRpm but it didn’t do anything…
Everything else worked including the print(GetVehicleCurrentRpm(vehicle))

function sucessclick()
  local vehicle = GetVehiclePedIsIn(GetPlayerPed(-1), false)
  SetVehicleCurrentRpm(vehicle, 1.0)
  print("wait finish")

Hey @Matif

I looked up the native and it appears you are not the only person who is having an issue with this:

Is your resource manifest in your __resource.lua up-to-date?
What does GetVehiceCurrentRpm(vehicle) return?

it returns the current vehicle rpm correctly, and I’m using resource manifest '44febabe-d386-4d18-afbe-5e627f4af937'.

Try asking in the FiveM discord I guess… there is a good chance that you are doing everything correct and the native is bugged

I also head vMenu was having issues with this recently with its Vehicle Spawn function. Dont know if the native is bugged again or if its a script issue