Nope, not working even if I use the original one inside the RAGE.Game.Ai
I think it's a problem with bridge, just made myself this and it's working perfectly fine:
JS file:
mp.events.add({
"startEnterVehicle" : (vehHandle, timeout, seat, speed, type) => {
mp.players.local.taskEnterVehicle(vehHandle, timeout, seat, speed, type, 0);
}
});
C# script:
RAGE.Events.CallLocal("startEnterVehicle", closestVehicle.Handle, 5000, 0, 2, 1);
Would still be nice tho if I could use this without having to do workarounds, but well, I guess for now it works.